diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-06-30 09:54:10 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-06-30 09:54:10 +1000 |
| commit | 615321de942ac4d75af72ba126ac5b69da203a72 (patch) | |
| tree | fd13cb143ac508fb36bdbbb14729e0dc8be9d014 /tests | |
| parent | 453d0cfa39e3b02ab6be6131b37050b3e6eca539 (diff) | |
general: Rename export_colors to export.
Diffstat (limited to 'tests')
| -rwxr-xr-x | tests/test_export.py (renamed from tests/test_export_colors.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_export_colors.py b/tests/test_export.py index 6097fda..7204f48 100755 --- a/tests/test_export_colors.py +++ b/tests/test_export.py @@ -2,7 +2,7 @@ import unittest import pathlib -from pywal import export_colors +from pywal import export from pywal import util @@ -11,7 +11,7 @@ COLORS = util.read_file_json("tests/test_files/test_file.json") class TestExportColors(unittest.TestCase): - """Test the export_colors functions.""" + """Test the export functions.""" def test_template(self): """> Test substitutions in template file.""" @@ -21,7 +21,7 @@ class TestExportColors(unittest.TestCase): output_dir = pathlib.Path("/tmp") template_dir = pathlib.Path("tests/test_files/templates") - export_colors.export_all_templates(COLORS, template_dir, output_dir) + export.export_all_templates(COLORS, template_dir, output_dir) result = pathlib.Path("/tmp/test_template").is_file() self.assertTrue(result) |
