diff options
| author | Dylan Araps <dylanaraps@users.noreply.github.com> | 2017-07-23 15:37:14 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-07-23 15:37:14 +1000 |
| commit | 0c1d76e2b3611b541316dc8d7eb67f18cec5e7f2 (patch) | |
| tree | aaf8141c62789dcfc4f72af24ae96df71459a084 /tests/test_magic.py | |
| parent | 9c871ec567504c2566c4ce9f3d382f544cb62b57 (diff) | |
| parent | 07b8ad8e0d97f54277c2e744f745ba3e47d0e53c (diff) | |
Merge pull request #52 from dylanaraps/api
api: Start work on a proper api.
Diffstat (limited to 'tests/test_magic.py')
| -rwxr-xr-x | tests/test_magic.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/test_magic.py b/tests/test_magic.py deleted file mode 100755 index 673420c..0000000 --- a/tests/test_magic.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Test imagemagick functions.""" -import unittest - -from pywal import magic - - -class TestGenColors(unittest.TestCase): - """Test the gen_colors functions.""" - - def test_gen_colors(self): - """> Generate a colorscheme.""" - result = magic.gen_colors("tests/test_files/test.jpg") - self.assertEqual(result[0], "#0F191A") - - -if __name__ == "__main__": - unittest.main() |
