

def test_returns_management_vip_and_public_vip(self):
    resp = self.env.nova_networks_get(resp.cluster.id).json_body
    nodegroup = objects.Cluster.get_default_group(self.cluster)
    self.assertEqual(resp['management_vip'], self.net_manager.assign_vip(nodegroup, 'management', consts.NETWORK_VIP_NAMES_V6_1.haproxy).ip_addr)
    self.assertEqual(resp['public_vip'], self.net_manager.assign_vip(nodegroup, 'public', consts.NETWORK_VIP_NAMES_V6_1.haproxy).ip_addr)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_network_configuration.py TestNovaNetworkConfigurationHandlerHA.test_returns_management_vip_and_public_vip/VarMisuse@18/29 `self`->`resp`