Skip to content

Commit

Permalink
Fix tests for v2
Browse files Browse the repository at this point in the history
  • Loading branch information
FredHaa committed Dec 22, 2023
1 parent 91cd960 commit ae3cbba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 338 deletions.
8 changes: 4 additions & 4 deletions tests/test_exception.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@

class TestUploaderException:
def test_UploaderException_without_cause(self):
new_exception = UploaderException()
assert str(new_exception) == "Error from uploader module"
new_exception = UploaderException('Test message')
assert str(new_exception) == 'Test message'

def test_UploderException_with_cause(self):
new_exception = UploaderException("Test Exception")
new_exception = UploaderException('Test message', 'Test Exception')
assert str(new_exception) == (
"Error from uploader module: Test Exception"
"Test message: Test Exception"
)
259 changes: 0 additions & 259 deletions tests/test_multipart_upload.py

This file was deleted.

75 changes: 0 additions & 75 deletions tests/test_uploader.py

This file was deleted.

0 comments on commit ae3cbba

Please sign in to comment.