diff options
| author | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2013-02-21 20:17:23 +0000 |
|---|---|---|
| committer | Stanislaw Pitucha <stanislaw.pitucha@hp.com> | 2013-02-21 20:17:23 +0000 |
| commit | 3c3c6e486dbbc9951b58790d763e59ca132e571e (patch) | |
| tree | 0fa4d9266120c68ebad8e46e121185d60425b715 | |
| parent | 0f0a8c6bcce1b230a5719b35089f25e55a1359a8 (diff) | |
Add module prefix to exception types
Change-Id: If1b0eccc9c75553fdbb3280ab742b1f4d6ea7861
| -rw-r--r-- | nova/tests/integrated/test_api_samples.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/integrated/test_api_samples.py b/nova/tests/integrated/test_api_samples.py index db26b07ec..aaf22ff9d 100644 --- a/nova/tests/integrated/test_api_samples.py +++ b/nova/tests/integrated/test_api_samples.py @@ -3430,7 +3430,7 @@ class AttachInterfacesSampleJsonTest(ServersSampleBase): def fake_list_ports(self, *args, **kwargs): uuid = kwargs.get('device_id', None) if not uuid: - raise InstanceNotFound(instance_id=None) + raise exception.InstanceNotFound(instance_id=None) port_data = { "id": "ce531f90-199f-48c0-816c-13e38010b442", "network_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", @@ -3450,7 +3450,7 @@ class AttachInterfacesSampleJsonTest(ServersSampleBase): def fake_show_port(self, context, port_id=None): if not port_id: - raise PortNotFound(port_id=None) + raise exception.PortNotFound(port_id=None) port_data = { "id": port_id, "network_id": "3cb9bc59-5699-4588-a4b1-b87f96708bc6", |
