mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-08-09 14:34:53 +02:00
api: Remove wal.py
This commit is contained in:
17
tests/test_colors.py
Executable file
17
tests/test_colors.py
Executable 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()
|
Reference in New Issue
Block a user