(self)
| 367 | |
| 368 | class TestDocumentMap(BaseExampleDocumenterTest): |
| 369 | def setUp(self): |
| 370 | super().setUp() |
| 371 | self.add_shape( |
| 372 | { |
| 373 | 'Map': { |
| 374 | 'type': 'map', |
| 375 | 'key': {'shape': 'String'}, |
| 376 | 'value': {'shape': 'String'}, |
| 377 | } |
| 378 | } |
| 379 | ) |
| 380 | self.add_shape_to_params('Foo', 'Map', 'This describes the map.') |
| 381 | |
| 382 | def test_request_example(self): |
| 383 | self.request_example.document_example( |