LFUtils: introduces wait_until_ports_disappear as PEP8 method

This commit is contained in:
Jed Reynolds
2020-06-16 21:52:08 -07:00
parent 6fbb7d026f
commit d3f76e5d18

View File

@@ -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"