summaryrefslogtreecommitdiff
path: root/tests/test_magic.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_magic.py')
-rwxr-xr-xtests/test_magic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_magic.py b/tests/test_magic.py
index 673420c..852f8b3 100755
--- a/tests/test_magic.py
+++ b/tests/test_magic.py
@@ -1,7 +1,7 @@
"""Test imagemagick functions."""
import unittest
-from pywal import magic
+from pywal import wal
class TestGenColors(unittest.TestCase):
@@ -9,7 +9,7 @@ class TestGenColors(unittest.TestCase):
def test_gen_colors(self):
"""> Generate a colorscheme."""
- result = magic.gen_colors("tests/test_files/test.jpg")
+ result = wal.create_palette("tests/test_files/test.jpg")
self.assertEqual(result[0], "#0F191A")