mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-03 00:16:01 +02:00
tests: Fix test
This commit is contained in:
parent
d07260470e
commit
270de570dd
@ -34,7 +34,7 @@ class TestExportColors(unittest.TestCase):
|
|||||||
def is_file_contents(self, tmp_file, pattern):
|
def is_file_contents(self, tmp_file, pattern):
|
||||||
"""> Check for pattern in file."""
|
"""> Check for pattern in file."""
|
||||||
content = util.read_file(tmp_file)
|
content = util.read_file(tmp_file)
|
||||||
self.assertEqual(content[7], pattern)
|
self.assertEqual(content[6], pattern)
|
||||||
|
|
||||||
def test_all_templates(self):
|
def test_all_templates(self):
|
||||||
"""> Test substitutions in template file."""
|
"""> Test substitutions in template file."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user