Commit 235ff5af authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1288] cover the successful case for _check_xfrout_available in tests.

parent 8f3f3e9d
......@@ -617,6 +617,8 @@ class TestXfroutSession(unittest.TestCase):
def test_check_xfrout_available(self):
self.xfrsess.ClientClass = MockDataSrcClient
self.assertEqual(self.xfrsess._check_xfrout_available(
Name('example.com')), Rcode.NOERROR())
self.assertEqual(self.xfrsess._check_xfrout_available(
Name('notauth.example.com')), Rcode.NOTAUTH())
self.assertEqual(self.xfrsess._check_xfrout_available(
......
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