summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-06-30 10:21:20 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-06-30 10:21:20 +1000
commit5015f2706c58e2f697cba7541f92d16bee08df68 (patch)
treeba8f4fdf7e3345b5fcc9a2ee585395036adbaba9 /tests
parent23571cc6207ec825749e4d999993b4a2568975b6 (diff)
general: Rename gen_colors to magic
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_magic.py (renamed from tests/test_gen_colors.py)6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_gen_colors.py b/tests/test_magic.py
index 5b407af..673420c 100755
--- a/tests/test_gen_colors.py
+++ b/tests/test_magic.py
@@ -1,7 +1,7 @@
-"""Test gen functions."""
+"""Test imagemagick functions."""
import unittest
-from pywal import gen_colors
+from pywal import magic
class TestGenColors(unittest.TestCase):
@@ -9,7 +9,7 @@ class TestGenColors(unittest.TestCase):
def test_gen_colors(self):
"""> Generate a colorscheme."""
- result = gen_colors.gen_colors("tests/test_files/test.jpg")
+ result = magic.gen_colors("tests/test_files/test.jpg")
self.assertEqual(result[0], "#0F191A")