diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-07-20 23:39:19 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-07-20 23:39:19 +1000 |
| commit | 4fd592b7d0a5fcf6674d07f34e6d92051634fc6c (patch) | |
| tree | 86dc37b60a5411c7a67ca968a1323f37834b22a3 /tests/test_magic.py | |
| parent | ced562e4dfa67ff36d64684dfc0d7335306aeb97 (diff) | |
tests: Fix tests.
Diffstat (limited to 'tests/test_magic.py')
| -rwxr-xr-x | tests/test_magic.py | 4 |
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") |
