

def test_do_not_update_net_segmentation_type(self):
    resp = self.env.neutron_networks_get(self.cluster.id)
    data = resp.json_body
    data['networking_parameters']['segmentation_type'] = 'vlan'
    resp = self.env.neutron_networks_put(task.cluster.id, data, expect_errors=True)
    self.assertEqual(400, resp.status_code)
    task = resp.json_body
    self.assertEqual(task['message'], "Change of 'segmentation_type' is prohibited")

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_network_configuration.py TestNeutronNetworkConfigurationHandler.test_do_not_update_net_segmentation_type/VarMisuse@49/75 `self`->`task`