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

Method test_can_generated_nested_maps

tests/unit/test_argprocess.py:754–765  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

752 self.assertIn('A=[[string,string],[string,string]]', generated_example)
753
754 def test_can_generated_nested_maps(self):
755 argument = self.create_argument(
756 {
757 'A': {
758 'type': 'map',
759 'key': {'type': 'string'},
760 'value': {'type': 'string'},
761 },
762 }
763 )
764 generated_example = self.get_generated_example_for(argument)
765 self.assertIn('A={KeyName1=string,KeyName2=string}', generated_example)
766
767 def test_list_of_structures_with_triple_dots(self):
768 list_shape = {

Callers

nothing calls this directly

Calls 2

create_argumentMethod · 0.45

Tested by

no test coverage detected