diff options
author | Bob Halley <halley@dnspython.org> | 2020-06-02 07:22:42 -0700 |
---|---|---|
committer | Bob Halley <halley@dnspython.org> | 2020-06-02 07:22:42 -0700 |
commit | 842dc3a0c1466126d547a05b32abd29150ecc1d2 (patch) | |
tree | 3f6ad05194597b0c0d7e926e7f5dc8e8dbd72fa4 /tests/test_resolver.py | |
parent | 856317e9d43b83bc8b14c85dd6a8a967da4b49cd (diff) | |
download | dnspython-842dc3a0c1466126d547a05b32abd29150ecc1d2.tar.gz |
pass peer and connection type to nanoserver handle()
Diffstat (limited to 'tests/test_resolver.py')
-rw-r--r-- | tests/test_resolver.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_resolver.py b/tests/test_resolver.py index 87aebaa..309a89d 100644 --- a/tests/test_resolver.py +++ b/tests/test_resolver.py @@ -595,7 +595,7 @@ class ResolverNameserverValidTypeTestCase(unittest.TestCase): class NaptrNanoNameserver(Server): - def handle(self, message): + def handle(self, message, peer, connection_type): response = dns.message.make_response(message) response.set_rcode(dns.rcode.REFUSED) response.flags |= dns.flags.RA |