(session)
| 22 | |
| 23 | |
| 24 | def 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 | |
| 35 | def pytest_sessionfinish(session): |
nothing calls this directly
no test coverage detected