

def test_wrong_net_provider(self):
    resp = self.app.put(reverse('NeutronNetworkConfigurationHandler', kwargs={
        'cluster_id': self.cluster.id,
    }), jsonutils.dumps({
        
    }), headers=self.default_headers, expect_errors=True)
    self.assertEqual(resp.status_code, 400)
    resp.assertEqual(resp.json_body['message'], "Wrong net provider - environment uses 'nova_network'")

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_network_configuration.py TestNovaNetworkConfigurationHandler.test_wrong_net_provider/VarMisuse@70/87 `self`->`resp`