Commit c071c5b3 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Fix unittests broken by commit 2bb5c911

File "../test/", line 239, in setUp = FakeLU(FakeProc(), self.op, self.context, None)
File "…/ganeti/", line 92, in __init__
  self.LogStep = processor.LogStep
AttributeError: FakeProc instance has no attribute 'LogStep'
Signed-off-by: default avatarMichael Hanselmann <>
Reviewed-by: default avatarIustin Pop <>
parent 2bb5c911
......@@ -61,6 +61,10 @@ class FakeProc:
def LogInfo(self, msg, *args, **kwargs):
def LogStep(self, current, total, message):
class FakeContext:
"""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