Reformat asserts

This commit is contained in:
Andras Schmelczer 2022-06-25 10:39:31 +02:00
parent 9b8b288ba6
commit cbd9f8472b
No known key found for this signature in database
GPG key ID: 0EA1BC97D0AB076E
10 changed files with 77 additions and 77 deletions

View file

@ -73,8 +73,8 @@ class TestLargeFileS3(unittest.TestCase):
Bucket=credentials["large_files_bucket_name"], Prefix="test-file"
)
self.assertEqual(lf._version, 2)
self.assertEqual(lf._local_name, "test-file-2")
assert lf._version == 2
assert lf._local_name == "test-file-2"
@patch.object(boto3, "client")
def test_initialized_with_file(self, client: Any) -> None:
@ -116,5 +116,5 @@ class TestLargeFileS3(unittest.TestCase):
Bucket=credentials["large_files_bucket_name"], Prefix="test-file"
)
self.assertEqual(lf._version, 2)
self.assertEqual(lf._local_name, "test-file-2")
assert lf._version == 2
assert lf._local_name == "test-file-2"