mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-06-01 15:35:42 +02:00
tests: Check color length instead of value since the tests will fail on other versions of imageamgick
This commit is contained in:
parent
d2ab5077e7
commit
72d0ca4e2f
@ -10,7 +10,7 @@ class TestGenColors(unittest.TestCase):
|
||||
def test_gen_colors(self):
|
||||
"""> Generate a colorscheme."""
|
||||
result = colors.get("tests/test_files/test.jpg")
|
||||
self.assertEqual(result["colors"]["color0"], "#0D191B")
|
||||
self.assertEqual(len(result["colors"]["color0"]), 7)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
Loading…
x
Reference in New Issue
Block a user