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

Method setUp

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

Source from the content-addressed store, hash-verified

239
240class TestDocumentList(BaseParamsDocumenterTest):
241 def setUp(self):
242 super().setUp()
243 self.add_shape(
244 {
245 'List': {
246 'type': 'list',
247 'member': {
248 'shape': 'String',
249 'documentation': 'A string element',
250 },
251 }
252 }
253 )
254 self.add_shape_to_params(
255 'Foo',
256 'List',
257 'This describes the list. Each element of this list is a string.',
258 )
259
260 def test_request_params(self):
261 self.request_params.document_params(

Callers

nothing calls this directly

Calls 3

add_shape_to_paramsMethod · 0.80
setUpMethod · 0.45
add_shapeMethod · 0.45

Tested by

no test coverage detected