(self)
| 414 | |
| 415 | class TestDocumentStructure(BaseExampleDocumenterTest): |
| 416 | def setUp(self): |
| 417 | super().setUp() |
| 418 | self.add_shape( |
| 419 | { |
| 420 | 'Structure': { |
| 421 | 'type': 'structure', |
| 422 | 'members': { |
| 423 | 'Member': { |
| 424 | 'shape': 'String', |
| 425 | 'documentation': 'This is its member.', |
| 426 | } |
| 427 | }, |
| 428 | } |
| 429 | } |
| 430 | ) |
| 431 | self.add_shape_to_params( |
| 432 | 'Foo', 'Structure', 'This describes the structure.' |
| 433 | ) |
| 434 | |
| 435 | def test_request_example(self): |
| 436 | self.request_example.document_example( |
nothing calls this directly
no test coverage detected