b.t.t.FakeCodec(object) : class documentation

Part of bzrlib.tests.test_osutils_encodings View In Hierarchy

Special class that helps testing over several non-existed encodings.

Clients can add new encoding names, but because of how codecs is implemented they cannot be removed. Be careful with naming to avoid collisions between tests.

Method add Adding encoding name to fake.
Method __call__ Called indirectly by codecs module during lookup
def add(self, encoding_name):
Adding encoding name to fake.
Parametersencoding_name (type: lowercase plain string)
def __call__(self, encoding_name):
Called indirectly by codecs module during lookup
API Documentation for Bazaar, generated by pydoctor at 2014-04-21 00:01:44.