Commit f1cb067e authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1288] (unrelated cleanup) removed now-unnecessary setting

parent 6ddab5f4
......@@ -648,7 +648,6 @@ class TestXfroutSession(TestXfroutSessionBase):
return "example.com"
def test_dns_xfrout_start_notauth(self):
self.xfrsess._get_query_zone_name = self.default
def notauth(formpara):
return Rcode.NOTAUTH()
self.xfrsess._check_xfrout_available = notauth
......@@ -664,7 +663,6 @@ class TestXfroutSession(TestXfroutSessionBase):
self.assertEqual(self.sock.read_msg().get_rcode(), Rcode.SERVFAIL())
def test_dns_xfrout_start_noerror(self):
self.xfrsess._get_query_zone_name = self.default
def noerror(form):
return Rcode.NOERROR()
self.xfrsess._check_xfrout_available = noerror
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment