summaryrefslogtreecommitdiff
path: root/tests/test_image.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-23 11:50:46 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-23 11:50:46 +1000
commitd8376eecc90b659f7b087ddd2ec0f29200ae6141 (patch)
tree11717deacbdd3c9b6302d015b288080a62271250 /tests/test_image.py
parent7e5723d7c1104f984642059e7e514a58924afd49 (diff)
tests: Update tests.
Diffstat (limited to 'tests/test_image.py')
-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 da557a7..e0b7902 100644
--- a/tests/test_image.py
+++ b/tests/test_image.py
@@ -14,7 +14,7 @@ class TestImage(unittest.TestCase):
def test_get_img_dir(self):
"""> Validate image directory."""
result = image.get("tests/test_files")
- self.assertEqual(result, "tests/test_files/test2.jpg")
+ self.assertEqual(result.endswith(".jpg"), True)
if __name__ == "__main__":