class documentation
class StubResolver: (source)
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 | get |
A fake implementation of IResolverSimple.getHostByName |
Instance Variable | calls |
Undocumented |
Instance Variable | pending |
Undocumented |
A fake implementation of IResolverSimple.getHostByName
Parameters | |
*args | A list of all the positional arguments supplied by the caller. |
**kwargs | A list of all the keyword arguments supplied by the caller. |
Returns | |
A Deferred which may be fired later from the test fixture. |