Changed tuple in waitUntilPortsDisappear parameters to list, changed wait_until_ports_disappear to use values passed by waitUntilPortsDisappear

This commit is contained in:
Logan Lipke
2020-06-23 16:45:26 -07:00
parent 5eff2f31ec
commit d63c4a8a56

View File

@@ -321,10 +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 waitUntilPortsDisappear(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):
print("waitUntilPortsDisappear")
url = "/port/1"