Skip to content

Commit

Permalink
Merge "Remove unused local variable in test_compute"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Nov 19, 2013
2 parents 2874116 + d0ae8a3 commit 84bddb0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions nova/tests/compute/test_compute.py
Original file line number Diff line number Diff line change
Expand Up @@ -7375,10 +7375,6 @@ def fake_volume_get(self, context, volume_id):
return {'id': volume_id, 'status': 'attaching'}

self.stubs.Set(cinder.API, 'get', fake_volume_get)

volume = {'id': 'bf0b6b00-a20c-11e2-9e96-0800200c9a66',
'state': 'active', 'instance_uuid': instance['uuid']}

self.assertRaises(exception.InvalidVolume,
self.compute_api.rescue, self.context, instance)

Expand Down

0 comments on commit 84bddb0

Please sign in to comment.