Revision 9769bb78 test/ganeti.backend_unittest.py
b/test/ganeti.backend_unittest.py | ||
---|---|---|
73 | 73 |
class TestNodeVerify(testutils.GanetiTestCase): |
74 | 74 |
def testMasterIPLocalhost(self): |
75 | 75 |
# this a real functional test, but requires localhost to be reachable |
76 |
local_data = (utils.HostInfo().name, constants.LOCALHOST_IP_ADDRESS)
|
|
76 |
local_data = (utils.HostInfo().name, constants.IP4_ADDRESS_LOCALHOST)
|
|
77 | 77 |
result = backend.VerifyNode({constants.NV_MASTERIP: local_data}, None) |
78 | 78 |
self.failUnless(constants.NV_MASTERIP in result, |
79 | 79 |
"Master IP data not returned") |
Also available in: Unified diff