diff options
Diffstat (limited to 'designate/tests/test_mdns/test_handler.py')
-rw-r--r-- | designate/tests/test_mdns/test_handler.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/designate/tests/test_mdns/test_handler.py b/designate/tests/test_mdns/test_handler.py index f598074d..f354f902 100644 --- a/designate/tests/test_mdns/test_handler.py +++ b/designate/tests/test_mdns/test_handler.py @@ -142,7 +142,7 @@ class MdnsRequestHandlerTest(MdnsTestCase): dns.rdataclass.IN, msg) return answer - @mock.patch.object(dns.resolver.Resolver, 'query') + @mock.patch.object(dns.resolver.Resolver, 'resolve') def test_dispatch_opcode_notify_different_serial(self, func): # DNS packet with NOTIFY opcode payload = "c38021000001000000000000076578616d706c6503636f6d0000060001" @@ -179,7 +179,7 @@ class MdnsRequestHandlerTest(MdnsTestCase): self.assertEqual(expected_response, binascii.b2a_hex(response)) - @mock.patch.object(dns.resolver.Resolver, 'query') + @mock.patch.object(dns.resolver.Resolver, 'resolve') def test_dispatch_opcode_notify_same_serial(self, func): # DNS packet with NOTIFY opcode payload = "c38021000001000000000000076578616d706c6503636f6d0000060001" |