diff options
| -rwxr-xr-x | tests/test_template.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_template.py b/tests/test_template.py index f1b7dc5..14b1124 100755 --- a/tests/test_template.py +++ b/tests/test_template.py @@ -21,10 +21,10 @@ class TestExportColors(unittest.TestCase): """> Test substitutions in template file.""" template.export_all(COLORS, OUTPUT_DIR) - result = pathlib.Path("/tmp/colors.sh").is_file() + result = pathlib.Path("/tmp/wal/colors.sh").is_file() self.assertTrue(result) - content = pathlib.Path("/tmp/colors.sh").read_text() + content = pathlib.Path("/tmp/wal/colors.sh").read_text() content = content.split("\n")[6] self.assertEqual(content, "foreground='#F5F1F4'") @@ -32,10 +32,10 @@ class TestExportColors(unittest.TestCase): """> Test substitutions in template file (css).""" template.export(COLORS, "colors.css", OUTPUT_DIR) - result = pathlib.Path("/tmp/colors.css").is_file() + result = pathlib.Path("/tmp/wal/colors.css").is_file() self.assertTrue(result) - content = pathlib.Path("/tmp/colors.css").read_text() + content = pathlib.Path("/tmp/wal/colors.css").read_text() content = content.split("\n")[6] self.assertEqual(content, " --background: #1F211E;") |
