summaryrefslogtreecommitdiff
path: root/tests/test_colors.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-23 17:50:18 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-23 17:50:18 +1000
commit72d0ca4e2f4be7969498b226af4243315f2dff0c (patch)
tree29451e58461f942ec35885bd29d014afb49b6c10 /tests/test_colors.py
parentd2ab5077e78f58fbe4c059c561553f4b40514bbc (diff)
tests: Check color length instead of value since the tests will fail on other versions of imageamgick
Diffstat (limited to 'tests/test_colors.py')
-rwxr-xr-xtests/test_colors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_colors.py b/tests/test_colors.py
index 0ce5035..a678d4b 100755
--- a/tests/test_colors.py
+++ b/tests/test_colors.py
@@ -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__":