diff options
| author | Dylan Araps <[email protected]> | 2017-07-23 15:37:14 +1000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-07-23 15:37:14 +1000 |
| commit | 0c1d76e2b3611b541316dc8d7eb67f18cec5e7f2 (patch) | |
| tree | aaf8141c62789dcfc4f72af24ae96df71459a084 /tests/test_magic.py | |
| parent | Update README.md (diff) | |
| parent | tests: Fix tests (diff) | |
| download | pywal-0c1d76e2b3611b541316dc8d7eb67f18cec5e7f2.tar.xz pywal-0c1d76e2b3611b541316dc8d7eb67f18cec5e7f2.zip | |
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() |