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