Skip to content

Commit eb9d11a

Browse files
committed
update tests
1 parent f03f06d commit eb9d11a

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

test/14.django_multiple_session_impliment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ def test(server_proc: subprocess.Popen, browser: Chrome):
3636
template.save_output(browser, '14.flask_multiple_session_impliment_p1.html')
3737

3838
browser.get('http://localhost:8080/?app=p2&_pywebio_debug=1')
39-
template.test_output(browser, action_delay=1)
39+
template.test_output(browser, action_delay=1.5)
4040
time.sleep(1)
41-
template.test_input(browser, action_delay=1)
41+
template.test_input(browser, action_delay=1.5)
4242

4343
time.sleep(1)
4444
template.save_output(browser, '14.flask_multiple_session_impliment_p2.html')

test/6.flask_coroutine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ async def target():
2121

2222

2323
def test(server_proc: subprocess.Popen, browser: Chrome):
24-
template.test_output(browser)
24+
template.test_output(browser, action_delay=1)
2525

2626
time.sleep(1)
2727

28-
template.test_input(browser)
28+
template.test_input(browser, action_delay=1.5)
2929

3030
time.sleep(1)
3131
template.save_output(browser, '6.flask_coroutine.html')

test/8.flask_multiple_session_impliment.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,16 @@ async def async_target():
2929

3030

3131
def test(server_proc: subprocess.Popen, browser: Chrome):
32-
template.test_output(browser)
32+
template.test_output(browser, action_delay=1)
3333
time.sleep(1)
34-
template.test_input(browser)
34+
template.test_input(browser, action_delay=1)
3535
time.sleep(1)
3636
template.save_output(browser, '8.flask_multiple_session_impliment_p1.html')
3737

3838
browser.get('http://localhost:8080/io2?_pywebio_debug=1&_pywebio_http_pull_interval=400')
39-
template.test_output(browser)
39+
template.test_output(browser, action_delay=1.5)
4040
time.sleep(1)
41-
template.test_input(browser)
41+
template.test_input(browser, action_delay=1.5)
4242

4343
time.sleep(1)
4444
template.save_output(browser, '8.flask_multiple_session_impliment_p2.html')

0 commit comments

Comments
 (0)