(self)
| 91 | |
| 92 | class TestTraverseAndDocumentShape(BaseExampleDocumenterTest): |
| 93 | def setUp(self): |
| 94 | super().setUp() |
| 95 | self.add_shape_to_params('Foo', 'String', 'This describes foo.') |
| 96 | self.event_emitter = mock.Mock() |
| 97 | self.request_example = RequestExampleDocumenter( |
| 98 | service_id='myservice', |
| 99 | operation_name='SampleOperation', |
| 100 | event_emitter=self.event_emitter, |
| 101 | ) |
| 102 | self.response_example = ResponseExampleDocumenter( |
| 103 | service_id='myservice', |
| 104 | operation_name='SampleOperation', |
| 105 | event_emitter=self.event_emitter, |
| 106 | ) |
| 107 | |
| 108 | def test_events_emitted_response_example(self): |
| 109 | self.response_example.traverse_and_document_shape( |
nothing calls this directly
no test coverage detected