(self)
| 21 | |
| 22 | class TestClientDocumenter(BaseDocsTest): |
| 23 | def setUp(self): |
| 24 | super().setUp() |
| 25 | exception_shape = { |
| 26 | 'SomeException': { |
| 27 | 'exception': True, |
| 28 | 'type': 'structure', |
| 29 | 'members': {'Message': {'shape': 'String'}}, |
| 30 | } |
| 31 | } |
| 32 | self.add_shape(exception_shape) |
| 33 | self.add_shape_to_params('Biz', 'String') |
| 34 | self.add_shape_to_errors('SomeException') |
| 35 | self.setup_client() |
| 36 | self.client_documenter = ClientDocumenter( |
| 37 | self.client, self.root_services_path |
| 38 | ) |
| 39 | |
| 40 | def test_document_client(self): |
| 41 | self.client_documenter.document_client(self.doc_structure) |
no test coverage detected