diff options
| author | Jenkins <jenkins@review.openstack.org> | 2012-03-07 01:23:26 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2012-03-07 01:23:26 +0000 |
| commit | e374ad975f1679fad6110fe9a9fc4793fbf2fc24 (patch) | |
| tree | 6628d10c63c79268f9a5b92f3d931ee73b041ac0 | |
| parent | a29158ffb24cbef1c320cd25796ae6bbfc379d64 (diff) | |
| parent | df842706c32c2ee2bb982a0f8d90923e5fa77b91 (diff) | |
| download | nova-e374ad975f1679fad6110fe9a9fc4793fbf2fc24.tar.gz nova-e374ad975f1679fad6110fe9a9fc4793fbf2fc24.tar.xz nova-e374ad975f1679fad6110fe9a9fc4793fbf2fc24.zip | |
Merge "Fix test_attach_volume_raise_exception"
| -rw-r--r-- | nova/tests/test_xenapi.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/tests/test_xenapi.py b/nova/tests/test_xenapi.py index cc7dabd73..89f5693da 100644 --- a/nova/tests/test_xenapi.py +++ b/nova/tests/test_xenapi.py @@ -202,10 +202,10 @@ class XenAPIVolumeTestCase(test.TestCase): volume = self._create_volume() instance = db.instance_create(self.context, self.instance_values) xenapi_fake.create_vm(instance.name, 'Running') - self.assertRaises(Exception, + self.assertRaises(exception.VolumeDriverNotFound, conn.attach_volume, + {'driver_volume_type': 'nonexist'}, instance.name, - volume['id'], '/dev/sdc') |
