centralize 'wait for ready'

This commit is contained in:
meejah 2019-08-08 12:43:53 -06:00
parent 3f8954be08
commit 415ab63813

View File

@ -26,10 +26,6 @@ def test_upload_download(alice):
upload a file, then download it via readcap upload a file, then download it via readcap
""" """
# XXX FIXME why?
print("waiting for ready..")
time.sleep(10)
FILE_CONTENTS = "some contents" FILE_CONTENTS = "some contents"
readcap = util.web_post( readcap = util.web_post(
@ -61,7 +57,6 @@ def test_put(alice):
use PUT to create a file use PUT to create a file
""" """
import time; time.sleep(10) # XXX wat
FILE_CONTENTS = "added via PUT" FILE_CONTENTS = "added via PUT"
resp = requests.put( resp = requests.put(