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

Method setUp

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

Source from the content-addressed store, hash-verified

414
415class TestDocumentStructure(BaseExampleDocumenterTest):
416 def setUp(self):
417 super().setUp()
418 self.add_shape(
419 {
420 'Structure': {
421 'type': 'structure',
422 'members': {
423 'Member': {
424 'shape': 'String',
425 'documentation': 'This is its member.',
426 }
427 },
428 }
429 }
430 )
431 self.add_shape_to_params(
432 'Foo', 'Structure', 'This describes the structure.'
433 )
434
435 def test_request_example(self):
436 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