Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel committed Dec 9, 2024
1 parent b45217d commit b3bc7ad
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ def test_http_remote(self, mock_get, mock_error, mock_debug):
syncer.fetch_symlinks(GOOD_SPEC)
syncer.fetch_tarball(GOOD_SPEC)
mock_error.assert_not_called()
syncer.upload_symlinks_and_tarball(GOOD_SPEC)

# Try bad spec
mock_error.reset_mock()
Expand All @@ -128,8 +127,6 @@ def test_http_remote(self, mock_get, mock_error, mock_debug):
self.assertIsInstance(mock_error.call_args_list[0][0][2],
sync.PartialDownloadError)

syncer.upload_symlinks_and_tarball(BAD_SPEC)

# Try missing spec
mock_debug.reset_mock()
syncer.fetch_symlinks(MISSING_SPEC)
Expand Down

0 comments on commit b3bc7ad

Please sign in to comment.