

def test_do_not_update_net_manager_if_validation_is_failed(self):
    new_net_manager = {
        'networking_parameters': {
            'net_manager': consts.NOVA_NET_MANAGERS.VlanManager,
        },
        'networks': [{
            'id': 500,
            'vlan_start': 500,
        }],
    }
    self.env.nova_networks_put(self.cluster.id, new_net_manager, expect_errors=True)
    self.db.refresh(self.cluster)
    self.assertNotEqual(self.cluster.network_config.net_manager, new_net_manager['networking_parameters']['net_manager'])

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_network_configuration.py TestNovaNetworkConfigurationHandler.test_do_not_update_net_manager_if_validation_is_failed/original