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

Function test

test/17.fastapi_backend.py:32–45  ·  view source on GitHub ↗
(server_proc: subprocess.Popen, browser: Chrome)

Source from the content-addressed store, hash-verified

30
31
32def test(server_proc: subprocess.Popen, browser: Chrome):
33 template.test_output(browser)
34 time.sleep(1)
35 template.test_input(browser)
36 time.sleep(1)
37 template.save_output(browser, '17.fastapi_multiple_session_impliment_p1.html')
38
39 browser.get('http://localhost:8080/?app=coroutine')
40 template.test_output(browser)
41 time.sleep(1)
42 template.test_input(browser)
43
44 time.sleep(1)
45 template.save_output(browser, '17.fastapi_multiple_session_impliment_p2.html')
46
47
48def 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…