Revision 2395c322 test/mocks.py

b/test/mocks.py
45 45

  
46 46
    def GetMasterNode(self):
47 47
        return utils.HostInfo().name
48

  
49

  
50
class FakeProc:
51
    """Fake processor object"""
52

  
53
    def LogWarning(self, msg):
54
        pass
55

  
56
    def LogInfo(self, msg):
57
        pass

Also available in: Unified diff