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

Function test_no_compression

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

Source from the content-addressed store, hash-verified

253 ],
254)
255def test_no_compression(config, request_dict, operation_model):
256 ce_header = request_dict['headers'].get('Content-Encoding')
257 original_body = request_dict['body']
258 maybe_compress_request(config, request_dict, operation_model)
259 assert request_dict['body'] == original_body
260 assert ce_header == request_dict['headers'].get('Content-Encoding')
261
262
263@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 1

maybe_compress_requestFunction · 0.90

Tested by

no test coverage detected