Skip to content

Commit

Permalink
Remove unneeded test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aemous committed Nov 7, 2024
1 parent 7c518a9 commit 49daff7
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions tests/functional/s3/test_mv_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,22 +266,6 @@ def test_download_with_checksum_mode_crc32(self):
self.assertEqual(self.operations_called[1][0].name, 'GetObject')
self.assertEqual(self.operations_called[1][1]['ChecksumMode'], 'ENABLED')

def test_slowdown_raises_error(self):
self.parsed_responses = [
# Response for HeadObject
{"ContentLength": 100, "LastModified": "00:00:00Z"},
# Response for GetObject
{'ETag': '"foo-1"', 'Body': BytesIO(b'foo')},
# Response for DeleteObject
{'Error': {'Code': 'SlowDown', 'Message': 'Please reduce your request rate.'}}
]
cmdline = f'{self.prefix} s3://bucket/foo {self.files.rootdir}'
stdout, stderr, _ = self.run_cmd(cmdline, expected_rc=1)
self.assertIn(
'An error occurred (SlowDown) when calling the DeleteObject operation: Please reduce your request rate.',
stderr
)


class TestMvWithCRTClient(BaseCRTTransferClientTest):
def test_upload_move_using_crt_client(self):
Expand Down

0 comments on commit 49daff7

Please sign in to comment.