diff options
| author | John Tran <jtran@attinteractive.com> | 2011-03-30 12:37:56 -0700 |
|---|---|---|
| committer | John Tran <jtran@attinteractive.com> | 2011-03-30 12:37:56 -0700 |
| commit | 655906ee7be1d906033bde7887293e6d61bae3d6 (patch) | |
| tree | bc5f4a71e4ad02132419eedfb7e9edcccf022768 | |
| parent | ee00cb8057eac328c98dd9c040ffa324f11a87be (diff) | |
updated per code review, replaced NotFound with exception.NotFound
| -rw-r--r-- | nova/tests/test_cloud.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/test_cloud.py b/nova/tests/test_cloud.py index 582e40e08..145da8ad2 100644 --- a/nova/tests/test_cloud.py +++ b/nova/tests/test_cloud.py @@ -36,12 +36,12 @@ from nova import rpc from nova import service from nova import test from nova import utils +from nova import exception from nova.auth import manager from nova.compute import power_state from nova.api.ec2 import cloud from nova.api.ec2 import ec2utils from nova.image import local -from nova.exception import NotFound FLAGS = flags.FLAGS @@ -234,7 +234,7 @@ class CloudTestCase(test.TestCase): return [] self.stubs.Set(local.LocalImageService, 'detail', fake_detail_empty) - self.assertRaises(NotFound, deregister_image, + self.assertRaises(exception.NotFound, deregister_image, self.context, 'ami-bad001') def test_console_output(self): |
