MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / test

Function test

test/15.tornado_http_multiple_session.py:31–44  ·  view source on GitHub ↗
(server_proc: subprocess.Popen, browser: Chrome)

Source from the content-addressed store, hash-verified

29
30
31def test(server_proc: subprocess.Popen, browser: Chrome):
32 template.test_output(browser)
33 time.sleep(1)
34 template.test_input(browser)
35 time.sleep(1)
36 template.save_output(browser, '15.tornado_http_multiple_session_p1.html')
37
38 browser.get('http://localhost:8080/?_pywebio_debug=1&_pywebio_http_pull_interval=400&app=p2')
39 template.test_output(browser)
40 time.sleep(1)
41 template.test_input(browser)
42
43 time.sleep(1)
44 template.save_output(browser, '15.tornado_http_multiple_session_p2.html')
45
46
47def start_test_server():

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…