

def test_netconfig_error_when_admin_cidr_match_other_network_cidr(self):
    resp = self.env.nova_networks_get(self.cluster['id'])
    nets = resp.json_body
    resp = self.env.nova_networks_put(self.cluster['id'], nets, expect_errors=True)
    self.assertEqual(resp.status_code, 400)
    task = resp.json_body
    self.assertIn('Address space intersection between networks:\nadmin (PXE), management.', task['message'])

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_network_configuration.py TestAdminNetworkConfiguration.test_netconfig_error_when_admin_cidr_match_other_network_cidr/original