twisted.names.test.test_rootresolve.StubResolver(object) class documentationtwisted.names.test.test_rootresolve
(View In Hierarchy)
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 | 
A fake implementation of IResolverSimple.getHostByName
| Parameters | args | A listof all the positional arguments supplied by the caller. | 
| kwargs | A listof all the keyword arguments supplied by the caller. | |
| Returns | A Deferredwhich may be fired later from the test fixture. | |