(request)
| 647 | |
| 648 | @pytest.fixture(autouse=True, scope="session") |
| 649 | def webserver(request): |
| 650 | host = get_lan_ip() if request.config.getoption("use_lan_ip") else None |
| 651 | |
| 652 | webserver = SimpleWebServer(host=host) |
| 653 | webserver.start() |
| 654 | yield webserver |
| 655 | webserver.stop() |
| 656 | |
| 657 | |
| 658 | @pytest.fixture |
nothing calls this directly
no test coverage detected