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

Class FakeParsedArgs

tests/unit/test_alias.py:34–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32
33
34class FakeParsedArgs:
35 def __init__(self, **kwargs):
36 self.__dict__.update(kwargs)
37
38 def __repr__(self):
39 return '%s(%s)' % (self.__class__.__name__, self.__dict__)
40
41 def __eq__(self, other):
42 return self.__dict__ == other.__dict__
43
44 def __contains__(self, key):
45 return key in self.__dict__
46
47
48class TestAliasLoader(unittest.TestCase):

Calls

no outgoing calls