mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-08 09:25:17 -04:00
Try increasing waits more
This commit is contained in:
parent
23e3e8fc5e
commit
de76f400cd
1 changed files with 3 additions and 3 deletions
|
@ -17,8 +17,8 @@ class TestReceive(GuiBaseTest):
|
||||||
):
|
):
|
||||||
"""Test that we can upload the file"""
|
"""Test that we can upload the file"""
|
||||||
|
|
||||||
# Wait 1.1 seconds to make sure the filename, based on timestamp, isn't accidentally reused
|
# Wait 2 seconds to make sure the filename, based on timestamp, isn't accidentally reused
|
||||||
QtTest.QTest.qWait(1100)
|
QtTest.QTest.qWait(2000)
|
||||||
|
|
||||||
files = {"file[]": open(file_to_upload, "rb")}
|
files = {"file[]": open(file_to_upload, "rb")}
|
||||||
url = f"http://127.0.0.1:{tab.app.port}/upload"
|
url = f"http://127.0.0.1:{tab.app.port}/upload"
|
||||||
|
@ -45,7 +45,7 @@ class TestReceive(GuiBaseTest):
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
QtTest.QTest.qWait(500)
|
QtTest.QTest.qWait(1000)
|
||||||
|
|
||||||
# Make sure the file is within the last 10 seconds worth of fileames
|
# Make sure the file is within the last 10 seconds worth of fileames
|
||||||
exists = False
|
exists = False
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue