MCPcopy Create free account
hub / github.com/aws/aws-cli / setUp

Method setUp

tests/unit/botocore/docs/test_params.py:63–76  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

61
62class TestTraverseAndDocumentShape(BaseParamsDocumenterTest):
63 def setUp(self):
64 super().setUp()
65 self.add_shape_to_params('Foo', 'String', 'This describes foo.')
66 self.event_emitter = mock.Mock()
67 self.request_params = RequestParamsDocumenter(
68 service_id='myservice',
69 operation_name='SampleOperation',
70 event_emitter=self.event_emitter,
71 )
72 self.response_params = ResponseParamsDocumenter(
73 service_id='myservice',
74 operation_name='SampleOperation',
75 event_emitter=self.event_emitter,
76 )
77
78 def test_events_emitted_response_params(self):
79 self.response_params.traverse_and_document_shape(

Callers

nothing calls this directly

Calls 4

add_shape_to_paramsMethod · 0.80
setUpMethod · 0.45

Tested by

no test coverage detected