Commit 3d97b399 authored by Petr Pudlak's avatar Petr Pudlak
Browse files

Add a method for WConfd context to GanetiContextMock

Signed-off-by: default avatarPetr Pudlak <>
Reviewed-by: default avatarKlaus Aehlig <>
parent a13e1743
......@@ -57,6 +57,9 @@ class GanetiContextMock(object):
self._test_case = test_case
self.livelock = LiveLockMock()
def GetWConfdContext(self, _ec_id):
return (None, None, None)
def AddNode(self, node, ec_id):
self._test_case.cfg.AddNode(node, ec_id)
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