Commit 03de120c authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[trac610] an unrelated cleanup: removed FakeBindCmdInterpreter, which is not necessary for tests.

parent 71bcc9a5
......@@ -332,13 +332,6 @@ class TestConfigCommands(unittest.TestCase):
cmd = cmdparse.BindCmdParse("config set identifier=\"foo/a_list\" value=[1]")
self.assertRaises(isc.cc.data.DataTypeError, self.tool.apply_config_cmd, cmd)
class FakeBindCmdInterpreter(bindcmd.BindCmdInterpreter):
def __init__(self):
pass
class TestBindCmdInterpreter(unittest.TestCase):
def _create_invalid_csv_file(self, csvfilename):
......@@ -350,7 +343,7 @@ class TestBindCmdInterpreter(unittest.TestCase):
csvfile.close()
def test_get_saved_user_info(self):
cmd = FakeBindCmdInterpreter()
cmd = bindcmd.BindCmdInterpreter()
users = cmd._get_saved_user_info('/notexist', 'cvs_file.cvs')
self.assertEqual([], users)
......
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