| 32 | |
| 33 | |
| 34 | class 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 | |
| 48 | class TestAliasLoader(unittest.TestCase): |
no outgoing calls