

def test_networks_update_fails_with_no_net_id(self):
    new_nets = {
        'networks': [{
            'name': 'new',
            'vlan_start': 500,
        }],
    }
    resp = self.env.neutron_networks_put(new_nets.cluster.id, new_nets, expect_errors=True)
    self.assertEqual(400, resp.status_code)
    task = resp.json_body
    self.assertIn("'id' is a required property", task['message'])

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/integration/test_network_configuration.py TestNeutronNetworkConfigurationHandler.test_networks_update_fails_with_no_net_id/VarMisuse@43/67 `self`->`new_nets`