MCPcopy Index your code
hub / github.com/aws/aws-cli / test_validate_preferred_output_encoding

Function test_validate_preferred_output_encoding

tests/unit/test_compat.py:264–267  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

262
263
264def test_validate_preferred_output_encoding():
265 with mock.patch.dict(os.environ, {'AWS_CLI_OUTPUT_ENCODING': 'invalid'}):
266 with pytest.raises(ValueError):
267 validate_preferred_output_encoding()

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected