

def test_deploy_error_when_admin_cidr_match_other_network_cidr(self):
    self.env.create_node(cluster_id=self.cluster['id'], pending_addition=True)
    resp = self.env.cluster_changes_put(self.cluster['id'], expect_errors=True)
    self.assertEqual(resp.status_code, 200)
    task = resp.json_body
    self.assertEqual(task['status'], consts.TASK_STATUSES.error)
    self.assertEqual(task['progress'], 100)
    self.assertEqual(task['name'], 'deploy')
    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_deploy_error_when_admin_cidr_match_other_network_cidr/original