l.t.f.ZopeUtilityFixture(Fixture) : class documentation

Part of lp.testing.fixture View In Hierarchy

A fixture that temporarily registers a different utility.
Method __init__ Construct a new fixture.
Method _setUp Undocumented
def __init__(self, component, intf, name=''):
Construct a new fixture.
ParameterscomponentAn instance of a class that provides this interface.
intfThe Zope interface class to register, eg IMailDelivery.
nameA string name to match.
def _setUp(self):
API Documentation for Launchpad, generated by pydoctor at 2020-12-04 00:00:03.