Revision 437138c9 test/mocks.py
b/test/mocks.py | ||
---|---|---|
48 | 48 |
def GetHostKey(self): |
49 | 49 |
return FAKE_CLUSTER_KEY |
50 | 50 |
|
51 |
def GetClusterName(self): |
|
52 |
return "test.cluster" |
|
53 |
|
|
54 |
def GetMasterNode(self): |
|
55 |
return utils.HostInfo().name |
|
56 |
|
|
51 | 57 |
|
52 | 58 |
class FakeSStore: |
53 | 59 |
"""Fake simplestore object""" |
Also available in: Unified diff