MCPcopy Create free account
hub / github.com/aws/aws-cli / test_compression

Function test_compression

tests/unit/botocore/test_compress.py:193–197  ·  view source on GitHub ↗
(request_dict, operation_model)

Source from the content-addressed store, hash-verified

191 sys.version_info < (3, 8), reason='requires python3.8 or higher'
192)
193def test_compression(request_dict, operation_model):
194 maybe_compress_request(
195 COMPRESSION_CONFIG_128_BYTES, request_dict, operation_model
196 )
197 assert_request_compressed(request_dict, REQUEST_BODY_COMPRESSED)
198
199
200@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

maybe_compress_requestFunction · 0.90

Tested by

no test coverage detected