diff options
Diffstat (limited to 'test/modules/http1/conftest.py')
-rw-r--r-- | test/modules/http1/conftest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/modules/http1/conftest.py b/test/modules/http1/conftest.py index 33a16a1170..45b26c1796 100644 --- a/test/modules/http1/conftest.py +++ b/test/modules/http1/conftest.py @@ -34,3 +34,8 @@ def env(pytestconfig) -> H1TestEnv: env.apache_access_log_clear() env.httpd_error_log.clear_log() return env + +@pytest.fixture(autouse=True, scope="package") +def _stop_package_scope(env): + yield + assert env.apache_stop() == 0 |