aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2017-07-22 10:10:05 +1000
committerDylan Araps <[email protected]>2017-07-22 10:10:05 +1000
commitccad5150e621067ef637104f9a20371bb4533ce8 (patch)
tree79a7c3d30b9c987937b4c764d2a8e6642f1e6673 /tests
parentexamples: Move examples out of the repo to the wiki. (diff)
downloadpywal-ccad5150e621067ef637104f9a20371bb4533ce8.tar.xz
pywal-ccad5150e621067ef637104f9a20371bb4533ce8.zip
tests: Use wal functions.
Diffstat (limited to 'tests')
-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)