Revision 5fcdc80d testing/mocks.py

b/testing/mocks.py
29 29
    def IsCluster(self):
30 30
        return True
31 31

  
32
    def GetClusterName(self):
33
        return "test.cluster"
34

  
35 32
    def GetNodeList(self):
36 33
        return ["a", "b", "c"]
37 34

  
......
42 39
class FakeSStore:
43 40
    """Fake simplestore object"""
44 41

  
42
    def GetClusterName(self):
43
        return "test.cluster"
44

  
45 45
    def GetMasterNode(self):
46 46
        return socket.gethostname()

Also available in: Unified diff