Commit f4555db2 authored by Guido Trotter's avatar Guido Trotter
Browse files

mocks: create a FakeContext object

This will be passed to FakeLUs

Reviewed-by: iustinp
parent 0b097284
......@@ -67,3 +67,12 @@ class FakeProc:
def LogInfo(self, msg):
pass
class FakeContext:
"""Fake context object"""
def __init__(self):
self.cfg = FakeConfig()
# TODO: decide what features a mock Ganeti Lock Manager must have
self.GLM = None
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