summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-08-15 10:34:11 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-08-15 10:34:11 +1000
commit2dc6ce2cdaa5ff1c6ccb829d08e24aaac67eb6c7 (patch)
tree2dfee4fea48d882e9fb41fc5e819f543426d99f4 /tests
parentd83ce9732a7d6a2903c802536ef19f4504c1a45d (diff)
tests: Fix tests
Diffstat (limited to 'tests')
-rw-r--r--tests/test_image.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_image.py b/tests/test_image.py
index 195951d..84dae51 100644
--- a/tests/test_image.py
+++ b/tests/test_image.py
@@ -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."""