(self)
| 114 | self.assert_rendered_docs_contain('( ... recursive ... )') |
| 115 | |
| 116 | def test_handle_empty_nested_struct(self): |
| 117 | shape_map = { |
| 118 | 'InputStruct': { |
| 119 | 'type': 'structure', |
| 120 | 'members': { |
| 121 | 'A': {'shape': 'Empty'}, |
| 122 | }, |
| 123 | }, |
| 124 | 'Empty': {'type': 'structure', 'members': {}}, |
| 125 | } |
| 126 | shape = StructureShape( |
| 127 | 'InputStruct', shape_map['InputStruct'], ShapeResolver(shape_map) |
| 128 | ) |
| 129 | |
| 130 | self.arg_table['arg-name'] = mock.Mock(argument_model=shape) |
| 131 | self.operation_handler.doc_option_example( |
| 132 | 'arg-name', self.help_command, 'process-cli-arg.foo.bar' |
| 133 | ) |
| 134 | self.assert_proper_indentation() |
| 135 | |
| 136 | def test_handle_no_output_shape(self): |
| 137 | operation_model = mock.Mock() |
nothing calls this directly
no test coverage detected