Revision 89e1fc26 test/ganeti.config_unittest.py
b/test/ganeti.config_unittest.py | ||
---|---|---|
54 | 54 |
|
55 | 55 |
def _init_cluster(self, cfg): |
56 | 56 |
"""Initializes the cfg object""" |
57 |
cfg.InitConfig(socket.gethostname(), '127.0.0.1', None, '', 'aa:00:00',
|
|
57 |
cfg.InitConfig(utils.HostInfo().name, '127.0.0.1', None, '', 'aa:00:00',
|
|
58 | 58 |
'xenvg', constants.DEFAULT_BRIDGE) |
59 | 59 |
|
60 | 60 |
def _create_instance(self): |
Also available in: Unified diff