64f6bebc66
Instead of using NotImplementedError exceptions to define the interface it's better to use python abc class [1]. The advantage that it fails faster if a class doesn't implement the needed interface. See also [2]. [1]: http://legacy.python.org/dev/peps/pep-3119/ [2]: http://dbader.org/blog/abstract-base-classes-in-python Change-Id: I625a73f70ac5c6ca68ee38a70c98d999454a817e Partial-Bug: #1346797 |
||
---|---|---|
.. | ||
__init__.py | ||
fake_service.py | ||
fake_service_with_verify.py | ||
fake_swift_client.py |