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

Method setUp

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

Source from the content-addressed store, hash-verified

328
329class TestDocumentStructure(BaseParamsDocumenterTest):
330 def setUp(self):
331 super().setUp()
332 self.add_shape(
333 {
334 'Structure': {
335 'type': 'structure',
336 'members': {
337 'Member': {
338 'shape': 'String',
339 'documentation': 'This is its member.',
340 }
341 },
342 }
343 }
344 )
345 self.add_shape_to_params(
346 'Foo', 'Structure', 'This describes the structure.'
347 )
348
349 def test_request_params(self):
350 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