Commit 825e13df authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix the for 2.0 unittests

The recent change to use LogWarning with multiple arguments in broke the (simple) mock we have in the tests.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 9bb31ea8
...@@ -55,12 +55,16 @@ class FakeConfig: ...@@ -55,12 +55,16 @@ class FakeConfig:
class FakeProc: class FakeProc:
"""Fake processor object""" """Fake processor object"""
def LogWarning(self, msg): def LogWarning(self, msg, *args, **kwargs):
pass pass
def LogInfo(self, msg): def LogInfo(self, msg, *args, **kwargs):
pass pass
def LogStep(self, current, total, message):
class FakeContext: class FakeContext:
"""Fake context object""" """Fake context object"""
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