Implements interfaces: twisted.internet.interfaces.IResolverSimple

An IResolverSimple implementer which traces all getHostByName calls and their deferred results. The deferred results can be accessed and fired synchronously.

Method __init__ No summary
Method getHostByName A fake implementation of IResolverSimple.getHostByName
def __init__(self):
def getHostByName(self, *args, **kwargs):

A fake implementation of IResolverSimple.getHostByName

ParametersargsA list of all the positional arguments supplied by the caller.
kwargsA list of all the keyword arguments supplied by the caller.
ReturnsA Deferred which may be fired later from the test fixture.
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.