

def test_no_instance_passthrough_404(self):

    def fake_compute_get(*args, **kwargs):
        raise exception.InstanceNotFound(instance_id='fake')
    self.stubs.Set(compute.api.API, 'get', fake_compute_get)
    url = '/v2/fake/servers/70f6db34-de8d-4fbd-aafb-4065bdfa6115'
    res = self._make_request(url)
    url.assertEqual(res.status_int, 404)

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_neutron_security_groups.py TestNeutronSecurityGroupsOutputTest.test_no_instance_passthrough_404/VarMisuse@64/115 `self`->`url`