diff options
Diffstat (limited to 'test/modules/proxy/conftest.py')
-rw-r--r-- | test/modules/proxy/conftest.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/modules/proxy/conftest.py b/test/modules/proxy/conftest.py index 7e6f4e7b09..c92e363e2a 100644 --- a/test/modules/proxy/conftest.py +++ b/test/modules/proxy/conftest.py @@ -29,3 +29,8 @@ def env(pytestconfig) -> ProxyTestEnv: 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 |