Skip to content
This repository was archived by the owner on Apr 6, 2022. It is now read-only.

Commit e718a50

Browse files
author
Jason Snow
authored
Merge pull request #6 from jyksnw/issue-5
Fix test for download image by provided path
2 parents 8011020 + c8b150d commit e718a50

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_youversion.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ def test_image_download_provided_path(self):
9090
actual_save_path = votd.image.download(width=1, height=1, save_path=save_path)
9191
if not actual_save_path or actual_save_path == '' or not os.path.exists(actual_save_path):
9292
raise AssertionError()
93+
94+
if not actual_save_path == save_path:
95+
raise AssertionError()
9396
finally:
9497
if actual_save_path:
9598
os.remove(actual_save_path)

0 commit comments

Comments
 (0)