Skip to content

Commit 6def370

Browse files
test: fix unknown parameter hostid in test_vm_life_cycle.py (#8948)
1 parent 96ae479 commit 6def370

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/smoke/test_vm_life_cycle.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,7 +1035,7 @@ def ensure_all_hosts_are_up(cls):
10351035
time.sleep(interval)
10361036
restarted_host = Host.list(
10371037
cls.apiclient,
1038-
hostid=host.id,
1038+
id=host.id,
10391039
type='Routing'
10401040
)[0]
10411041
if restarted_host.state == "Up":
@@ -1100,7 +1100,7 @@ def waitUntilHostInState(self, hostId, state="Up", interval=5, retries=20):
11001100
time.sleep(interval)
11011101
host = Host.list(
11021102
self.apiclient,
1103-
hostid=hostId,
1103+
id=hostId,
11041104
type='Routing'
11051105
)[0]
11061106
if host.state != state:
@@ -1160,7 +1160,7 @@ def check_connection(self, secured, host, retries=20, interval=6):
11601160
host = Host.list(
11611161
self.apiclient,
11621162
zoneid=self.zone.id,
1163-
hostid=host.id,
1163+
id=host.id,
11641164
type='Routing'
11651165
)[0]
11661166
if host.details.secured != secured:

0 commit comments

Comments
 (0)