mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-07-01 14:50:39 +02:00
travis: 3.7 support
This commit is contained in:
@ -12,11 +12,6 @@ class TestGenColors(unittest.TestCase):
|
|||||||
result = colors.get("tests/test_files/test.jpg")
|
result = colors.get("tests/test_files/test.jpg")
|
||||||
self.assertEqual(len(result["colors"]["color0"]), 7)
|
self.assertEqual(len(result["colors"]["color0"]), 7)
|
||||||
|
|
||||||
def test_gen_colors_fail(self):
|
|
||||||
"""> Generate a colorscheme and fail."""
|
|
||||||
with self.assertRaises(SystemExit):
|
|
||||||
colors.get("tests/test_files/test.png")
|
|
||||||
|
|
||||||
def test_color_import(self):
|
def test_color_import(self):
|
||||||
"""> Read colors from a file."""
|
"""> Read colors from a file."""
|
||||||
result = colors.file("tests/test_files/test_file.json")
|
result = colors.file("tests/test_files/test_file.json")
|
||||||
|
Reference in New Issue
Block a user