utils: Add function to check whether process handles a signal
[ganeti-local] / test / mocks.py
index 249cd72..4c0ae07 100644 (file)
@@ -55,12 +55,16 @@ class FakeConfig:
 class FakeProc:
     """Fake processor object"""
 
-    def LogWarning(self, msg):
+    def LogWarning(self, msg, *args, **kwargs):
         pass
 
-    def LogInfo(self, msg):
+    def LogInfo(self, msg, *args, **kwargs):
         pass
 
+    def LogStep(self, current, total, message):
+        pass
+
+
 class FakeContext:
     """Fake context object"""