mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
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…
x
Reference in New Issue
Block a user