summaryrefslogtreecommitdiff
path: root/tests/test_image.py
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-07-23 21:29:38 +1000
committerDylan Araps <dylan.araps@gmail.com>2017-07-23 21:29:38 +1000
commit5f6de5efe82764c141019e47b488e5def62ca4c2 (patch)
treee7fabc1396a67f5fec3c5e36013b7d4c427028bc /tests/test_image.py
parente8475c05ea28205a02afe84b591133cf0963956c (diff)
tests: Fix errors
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 1cf7ec6..195951d 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.endswith(".jpg"), True)
+ self.assertEqual(result.endswith((".jpg", ".png")), True)
def test_get_img_fail(self):
"""> Validate image file. (fail)"""