mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
centralize 'wait for ready'
This commit is contained in:
parent
3f8954be08
commit
415ab63813
@ -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(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user