tests: Fix tests

This commit is contained in:
Dylan Araps 2017-08-15 10:34:11 +10:00
parent d83ce9732a
commit 2dc6ce2cda

View file

@ -9,7 +9,7 @@ class TestImage(unittest.TestCase):
def test_get_img(self):
"""> Validate image file."""
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):
"""> Validate image directory."""