Commit 79a6c20a authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

updated the test reflecting the fact we disabled notify

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent f4d9f872
...@@ -516,8 +516,9 @@ class TestXfrin(unittest.TestCase): ...@@ -516,8 +516,9 @@ class TestXfrin(unittest.TestCase):
def test_command_handler_notify(self): def test_command_handler_notify(self):
# at this level, refresh is no different than retransfer. # at this level, refresh is no different than retransfer.
self.args['master'] = TEST_MASTER_IPV6_ADDRESS self.args['master'] = TEST_MASTER_IPV6_ADDRESS
# ...but right now we disable the feature due to security concerns.
self.assertEqual(self.xfr.command_handler("notify", self.assertEqual(self.xfr.command_handler("notify",
self.args)['result'][0], 0) self.args)['result'][0], 1)
def test_command_handler_unknown(self): def test_command_handler_unknown(self):
self.assertEqual(self.xfr.command_handler("xxx", None)['result'][0], 1) self.assertEqual(self.xfr.command_handler("xxx", None)['result'][0], 1)
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