diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2017-07-23 21:29:38 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2017-07-23 21:29:38 +1000 |
| commit | 5f6de5efe82764c141019e47b488e5def62ca4c2 (patch) | |
| tree | e7fabc1396a67f5fec3c5e36013b7d4c427028bc /tests/test_image.py | |
| parent | e8475c05ea28205a02afe84b591133cf0963956c (diff) | |
tests: Fix errors
Diffstat (limited to 'tests/test_image.py')
| -rw-r--r-- | tests/test_image.py | 2 |
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)""" |
