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

Method setUp

tests/unit/test_clidocs.py:45–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

43
44class TestRecursiveShapes(unittest.TestCase):
45 def setUp(self):
46 self.arg_table = {}
47 self.help_command = mock.Mock()
48 self.help_command.event_class = 'custom'
49 self.help_command.arg_table = self.arg_table
50 self.operation_model = mock.Mock()
51 self.operation_model.service_model.operation_names = []
52 self.help_command.obj = self.operation_model
53 self.operation_handler = OperationDocumentEventHandler(
54 self.help_command
55 )
56
57 def assert_rendered_docs_contain(self, expected):
58 writes = [

Callers 2

setUpMethod · 0.45
setUpMethod · 0.45

Calls 1

Tested by

no test coverage detected