(request)
| 703 | |
| 704 | @pytest.fixture(autouse=True, scope="session") |
| 705 | def webserver(request): |
| 706 | host = get_lan_ip() if request.config.getoption("use_lan_ip") else None |
| 707 | |
| 708 | webserver = SimpleWebServer(host=host) |
| 709 | webserver.start() |
| 710 | yield webserver |
| 711 | webserver.stop() |
| 712 | |
| 713 | |
| 714 | @pytest.fixture |
nothing calls this directly
no test coverage detected