Fixing bug in stopped_vm test suite's attachVolume call

This commit is contained in:
Chirag Jog 2012-07-11 12:12:20 +05:30
parent 3070289266
commit 47d9d7d5b9
1 changed files with 1 additions and 1 deletions

View File

@ -1885,7 +1885,7 @@ class TestUploadAttachVolume(cloudstackTestCase):
"Check VM state is Running or not"
)
try:
virtual_machine.attach_volume(self.apiclient)
virtual_machine.attach_volume(self.apiclient, volume)
except Exception as e:
self.fail("Failed to attach the volume: %s" % e)
return