So that the mock Update function is used instead. This is necceary, as Update is now in haskell codebase.
Signed-off-by: BSRK Aditya <[email protected]> --- test/py/ganeti.config_unittest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/py/ganeti.config_unittest.py b/test/py/ganeti.config_unittest.py index ed0df03..2940a0a 100755 --- a/test/py/ganeti.config_unittest.py +++ b/test/py/ganeti.config_unittest.py @@ -376,7 +376,7 @@ class TestConfigRunner(unittest.TestCase): constants.ND_CPU_SPEED: 1.0, } - cfg = self._get_object() + cfg = self._get_object_mock() node = cfg.GetNodeInfo(cfg.GetNodeList()[0]) node.ndparams = my_ndparams cfg.Update(node, None) @@ -404,7 +404,7 @@ class TestConfigRunner(unittest.TestCase): constants.ND_SSH_PORT: 222, constants.ND_CPU_SPEED: 1.0, } - cfg = self._get_object() + cfg = self._get_object_mock() node = cfg.GetNodeInfo(cfg.GetNodeList()[0]) node.ndparams = node_ndparams cfg.Update(node, None) -- 2.2.0.rc0.207.ga3a616c
