MCPcopy Index your code
hub / github.com/aws/aws-cli / awscli_initialize

Method awscli_initialize

tests/unit/test_plugin.py:27–33  ·  view source on GitHub ↗
(self, context)

Source from the content-addressed store, hash-verified

25 self.events_seen = []
26
27 def awscli_initialize(self, context):
28 self.called = True
29 self.context = context
30 self.context.register(
31 'before_operation',
32 (lambda **kwargs: self.events_seen.append(kwargs)),
33 )
34
35
36class TestPlugins(unittest.TestCase):

Callers 1

_load_pluginsFunction · 0.80

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected