summaryrefslogtreecommitdiff
path: root/tests/test_template.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-22 22:26:49 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-22 22:26:49 +1000
commitde47c1beaaa77ee6f50235daba735ccc98ad608c (patch)
tree03fca45aead0204d0b8619d775077f1046230ba0 /tests/test_template.py
parenta4ea6a4f7addc3ada3c466a763331d793190a342 (diff)
api: Remove wal.py
Diffstat (limited to 'tests/test_template.py')
-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 992c9c0..ef71b8b 100755
--- a/tests/test_template.py
+++ b/tests/test_template.py
@@ -2,7 +2,7 @@
import unittest
import pathlib
-from pywal import wal
+from pywal import template
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")
- wal.export_all_templates(COLORS, output_dir, template_dir)
+ template.export_all(COLORS, output_dir, template_dir)
result = pathlib.Path("/tmp/test_template").is_file()
self.assertTrue(result)