mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
LFUtils: introduces wait_until_ports_disappear as PEP8 method
This commit is contained in:
@@ -321,8 +321,10 @@ def waitUntilPortsAdminUp(resource_id=1, base_url="http://localhost:8080", port_
|
||||
sleep(1)
|
||||
return None
|
||||
|
||||
|
||||
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)
|
||||
|
||||
def wait_until_ports_disappear(resource_id=1, base_url="http://localhost:8080", port_list=(), debug=False):
|
||||
if (debug):
|
||||
print("waitUntilPortsDisappear")
|
||||
url = "/port/1"
|
||||
|
||||
Reference in New Issue
Block a user