mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-05-29 22:18:49 +02:00
tests: Fix tests
This commit is contained in:
parent
d83ce9732a
commit
2dc6ce2cda
@ -9,7 +9,7 @@ class TestImage(unittest.TestCase):
|
|||||||
def test_get_img(self):
|
def test_get_img(self):
|
||||||
"""> Validate image file."""
|
"""> Validate image file."""
|
||||||
result = image.get("tests/test_files/test.jpg")
|
result = image.get("tests/test_files/test.jpg")
|
||||||
self.assertEqual(result, "tests/test_files/test.jpg")
|
self.assertIn("tests/test_files/test.jpg", result)
|
||||||
|
|
||||||
def test_get_img_dir(self):
|
def test_get_img_dir(self):
|
||||||
"""> Validate image directory."""
|
"""> Validate image directory."""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user