feat: implement mock for S3Tables service #11109
Annotations
10 errors and 1 warning
Test with pytest:
tests/test_moto_api/recorder/test_recorder.py#L186
TestRecorder.test_s3_upload_data
TypeError: Object of type AwsChunkedWrapper is not JSON serializable
|
Test with pytest:
tests/test_s3/test_s3.py#L1079
test_setting_content_encoding
AssertionError: assert 'gzip,aws-chunked' == 'gzip'
- gzip
+ gzip,aws-chunked
|
Test with pytest:
tests/test_s3/test_s3.py#L1629
test_list_objects_v2_checksum_algo
assert 'ChecksumCRC32' not in {'ChecksumCRC32': '6Le+Qw==', 'ETag': '"0cc175b9c0f1b6a831c399e269772661"', 'ResponseMetadata': {'HTTPHeaders': {'etag': '"0cc175b9c0f1b6a831c399e269772661"', 'last-modified': 'Thu, 16 Jan 2025 18:03:00 GMT', 'x-amz-checksum-crc32': '6Le+Qw==', 'x-amz-sdk-checksum-algorithm': 'CRC32', ...}, 'HTTPStatusCode': 200, 'RequestId': '2cX5g52cUacSobdQlbrS1gyjzWmVbBDRX6s5xZHwOxi0LMPKaHkh', 'RetryAttempts': 0}}
|
Test with pytest:
tests/test_s3/test_s3_copyobject.py#L654
test_copy_objet_legal_hold
botocore.exceptions.ClientError: An error occurred (InvalidContentMD5) when calling the PutObject operation: Content MD5 header is invalid
|
Test with pytest:
tests/test_s3/test_s3_copyobject.py#L692
test_s3_copy_object_lock
botocore.exceptions.ClientError: An error occurred (InvalidContentMD5) when calling the PutObject operation: Content MD5 header is invalid
|
Test with pytest:
tests/test_s3/test_s3_copyobject.py#L917
test_copy_object_calculates_checksum[CRC32-lVk/nw==]
assert 'ChecksumCRC32' not in {'ChecksumCRC32': 'lVk/nw==', 'ETag': '"f2081dd61dfa700a0fd5e29b9c3cc23d"', 'ResponseMetadata': {'HTTPHeaders': {'etag': '"f2081dd61dfa700a0fd5e29b9c3cc23d"', 'last-modified': 'Thu, 16 Jan 2025 18:03:09 GMT', 'x-amz-checksum-crc32': 'lVk/nw==', 'x-amz-sdk-checksum-algorithm': 'CRC32', ...}, 'HTTPStatusCode': 200, 'RequestId': 'z5VwIc0mgD9LYfvEBCltvlhctDEhOwyrQsS52lCsCUV4arrvpLWL', 'RetryAttempts': 0}}
|
Test with pytest:
tests/test_s3/test_s3_lock.py#L83
test_locked_object_governance_mode[bypass]
botocore.exceptions.ClientError: An error occurred (InvalidContentMD5) when calling the PutObject operation: Content MD5 header is invalid
|
Test with pytest:
tests/test_s3/test_s3_lock.py#L83
test_locked_object_governance_mode[no_bypass]
botocore.exceptions.ClientError: An error occurred (InvalidContentMD5) when calling the PutObject operation: Content MD5 header is invalid
|
Test with pytest:
tests/test_s3/test_s3_lock.py#L83
test_locked_object_governance_mode[unspecified]
botocore.exceptions.ClientError: An error occurred (InvalidContentMD5) when calling the PutObject operation: Content MD5 header is invalid
|
Test with pytest:
tests/test_s3/test_s3_lock.py#L193
test_locked_object_compliance_mode[bypass]
botocore.exceptions.ClientError: An error occurred (InvalidContentMD5) when calling the PutObject operation: Content MD5 header is invalid
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading