mirror of https://github.com/apache/cloudstack.git
test: fix unknown parameter hostid in test_vm_life_cycle.py (#8948)
This commit is contained in:
parent
96ae479000
commit
6def370f4a
|
|
@ -1035,7 +1035,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
|
|||
time.sleep(interval)
|
||||
restarted_host = Host.list(
|
||||
cls.apiclient,
|
||||
hostid=host.id,
|
||||
id=host.id,
|
||||
type='Routing'
|
||||
)[0]
|
||||
if restarted_host.state == "Up":
|
||||
|
|
@ -1100,7 +1100,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
|
|||
time.sleep(interval)
|
||||
host = Host.list(
|
||||
self.apiclient,
|
||||
hostid=hostId,
|
||||
id=hostId,
|
||||
type='Routing'
|
||||
)[0]
|
||||
if host.state != state:
|
||||
|
|
@ -1160,7 +1160,7 @@ class TestSecuredVmMigration(cloudstackTestCase):
|
|||
host = Host.list(
|
||||
self.apiclient,
|
||||
zoneid=self.zone.id,
|
||||
hostid=host.id,
|
||||
id=host.id,
|
||||
type='Routing'
|
||||
)[0]
|
||||
if host.details.secured != secured:
|
||||
|
|
|
|||
Loading…
Reference in New Issue