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

Method setUp

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

Source from the content-addressed store, hash-verified

373
374class TestDocumentRecursiveShape(BaseParamsDocumenterTest):
375 def setUp(self):
376 super().setUp()
377 self.add_shape(
378 {
379 'Structure': {
380 'type': 'structure',
381 'members': {
382 'Foo': {
383 'shape': 'Structure',
384 'documentation': 'This is a recursive structure.',
385 }
386 },
387 }
388 }
389 )
390 self.add_shape_to_params(
391 'Foo', 'Structure', 'This describes the structure.'
392 )
393
394 def test_request_params(self):
395 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