summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-22 10:10:05 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-22 10:10:05 +1000
commitccad5150e621067ef637104f9a20371bb4533ce8 (patch)
tree79a7c3d30b9c987937b4c764d2a8e6642f1e6673
parentc6147fd0eb0387c5cc4334dfe9c17f097fdea246 (diff)
tests: Use wal functions.
-rwxr-xr-xtests/test_template.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_template.py b/tests/test_template.py
index 9040348..992c9c0 100755
--- a/tests/test_template.py
+++ b/tests/test_template.py
@@ -2,7 +2,7 @@
import unittest
import pathlib
-from pywal import template
+from pywal import wal
from pywal import util
@@ -21,7 +21,7 @@ class TestExportColors(unittest.TestCase):
output_dir = pathlib.Path("/tmp")
template_dir = pathlib.Path("tests/test_files/templates")
- template.export_all_templates(COLORS, output_dir, template_dir)
+ wal.export_all_templates(COLORS, output_dir, template_dir)
result = pathlib.Path("/tmp/test_template").is_file()
self.assertTrue(result)