diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-06-18 22:07:34 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-06-18 22:07:34 +0000 |
| commit | 73aec655017afca73e7efeffeac95861ed5e5d33 (patch) | |
| tree | 2bb2dd9315c8c876edf3d3d705ddc821a2da88b1 /nova/tests | |
| parent | ba52373f3827117f07b1b871eed3970c83131973 (diff) | |
| parent | 9ce657702cbc4312669f364e68b0c1faefd0f0af (diff) | |
Merge "bug #996880 change HostNotFound in hosts to HTTPNotFound"
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/api/openstack/compute/contrib/test_hosts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/compute/contrib/test_hosts.py b/nova/tests/api/openstack/compute/contrib/test_hosts.py index ae5c39e75..2e4064c21 100644 --- a/nova/tests/api/openstack/compute/contrib/test_hosts.py +++ b/nova/tests/api/openstack/compute/contrib/test_hosts.py @@ -182,7 +182,7 @@ class HostTestCase(test.TestCase): self.assertEqual(result["maintenance_mode"], "on_maintenance") def test_bad_host(self): - self.assertRaises(exception.HostNotFound, self.controller.update, + self.assertRaises(webob.exc.HTTPNotFound, self.controller.update, self.req, "bogus_host_name", body={"status": "disable"}) def test_show_forbidden(self): |
