mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-02 19:58:03 +00:00
Changed tuple in waitUntilPortsDisappear parameters to list, changed wait_until_ports_disappear to use values passed by waitUntilPortsDisappear
This commit is contained in:
@@ -321,10 +321,10 @@ def waitUntilPortsAdminUp(resource_id=1, base_url="http://localhost:8080", port_
|
|||||||
sleep(1)
|
sleep(1)
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def waitUntilPortsDisappear(resource_id=1, base_url="http://localhost:8080", port_list=(), debug=False):
|
def waitUntilPortsDisappear(resource_id=1, base_url="http://localhost:8080", port_list=[], debug=False):
|
||||||
wait_until_ports_disappear(resource_id=1, base_url="http://localhost:8080", port_list=(), debug=False)
|
wait_until_ports_disappear(resource_id, base_url, port_list, debug)
|
||||||
|
|
||||||
def wait_until_ports_disappear(resource_id=1, base_url="http://localhost:8080", port_list=(), debug=False):
|
def wait_until_ports_disappear(resource_id=1, base_url="http://localhost:8080", port_list=[], debug=False):
|
||||||
if (debug):
|
if (debug):
|
||||||
print("waitUntilPortsDisappear")
|
print("waitUntilPortsDisappear")
|
||||||
url = "/port/1"
|
url = "/port/1"
|
||||||
|
|||||||
Reference in New Issue
Block a user