mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-13 00:39:56 +01:00
tests: Use wal functions.
This commit is contained in:
parent
c6147fd0eb
commit
ccad5150e6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user