api: Remove wal.py

This commit is contained in:
Dylan Araps
2017-07-22 22:26:49 +10:00
parent a4ea6a4f7a
commit de47c1beaa
13 changed files with 123 additions and 140 deletions

17
tests/test_colors.py Executable file
View File

@ -0,0 +1,17 @@
"""Test imagemagick functions."""
import unittest
from pywal import colors
class TestGenColors(unittest.TestCase):
"""Test the gen_colors functions."""
def test_gen_colors(self):
"""> Generate a colorscheme."""
result = colors.get("tests/test_files/test.jpg")
self.assertEqual(result["colors"]["color0"], "#0F191A")
if __name__ == "__main__":
unittest.main()