Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
YassineYousfi committed Aug 6, 2024
1 parent a250f74 commit 6ea625d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@
"Topic :: System :: Hardware",
],
python_requires='>= 3.6',
tests_require=['pytest'],
tests_require=['pytest', 'parameterized'],
)
2 changes: 1 addition & 1 deletion tests/test_downloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def test_write_attempt_file_on_error(self, igs_file):

with patch("laika.downloader.download_file", side_effect=DownloadFailed), self.assertRaises(DownloadFailed):
self._download_and_cache_file(self.url_bases, igs_file)
self.assertTrue(os.path.exists(self.filepath_attempt), msg="Attempt file should have been written after exception")
self.assertTrue(os.path.exists(igs_file.filepath_attempt), msg="Attempt file should have been written after exception")

# Should raise when trying again after failure
with self.assertRaises(DownloadFailed):
Expand Down

0 comments on commit 6ea625d

Please sign in to comment.