twisted.names.test.test_dns.TestController(object)
class documentationtwisted.names.test.test_dns
(View In Hierarchy)
Known subclasses: twisted.names.test.test_dns.TestTCPController
Pretend to be a DNS query processor for a DNSDatagramProtocol.
Instance Variable | messages | the list of received messages. (type: list of (msg, protocol, address)) |
Method | __init__ | Initialize the controller: create a list of messages. |
Method | messageReceived | Save the message so that it can be checked during the tests. |
Initialize the controller: create a list of messages.