Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment