MCPcopy Index your code
hub / github.com/RustPython/RustPython / pytest_sessionstart

Function pytest_sessionstart

wasm/tests/conftest.py:24–32  ·  view source on GitHub ↗
(session)

Source from the content-addressed store, hash-verified

22
23
24def pytest_sessionstart(session):
25 global server_proc
26 server_proc = subprocess.Popen(
27 ["python3", "-c", HTTP_SCRIPT],
28 cwd=demo_dist,
29 stdout=subprocess.DEVNULL,
30 stderr=subprocess.DEVNULL,
31 )
32 wait_for_port(PORT)
33
34
35def pytest_sessionfinish(session):

Callers

nothing calls this directly

Calls 1

wait_for_portFunction · 0.85

Tested by

no test coverage detected