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

Method setUp

tests/unit/botocore/docs/test_example.py:469–486  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

467
468class TestDocumentRecursiveShape(BaseExampleDocumenterTest):
469 def setUp(self):
470 super().setUp()
471 self.add_shape(
472 {
473 'Structure': {
474 'type': 'structure',
475 'members': {
476 'Foo': {
477 'shape': 'Structure',
478 'documentation': 'This is a recursive structure.',
479 }
480 },
481 }
482 }
483 )
484 self.add_shape_to_params(
485 'Foo', 'Structure', 'This describes the structure.'
486 )
487
488 def test_request_example(self):
489 self.request_example.document_example(

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