diff --git a/certbot/src/certbot/_internal/tests/plugins/apache/__init__.py b/certbot/src/certbot/_internal/tests/plugins/apache/__init__.py index 1dae412f2..97c96aaa3 100644 --- a/certbot/src/certbot/_internal/tests/plugins/apache/__init__.py +++ b/certbot/src/certbot/_internal/tests/plugins/apache/__init__.py @@ -1 +1,7 @@ """certbot-apache tests""" + +import pytest + + +# Make sure we're only running these tests if our apache plugin dependencies are installed +pytest.importorskip("augeas") diff --git a/certbot/src/certbot/_internal/tests/plugins/nginx/__init__.py b/certbot/src/certbot/_internal/tests/plugins/nginx/__init__.py index 7ddcf58b0..60c94e900 100644 --- a/certbot/src/certbot/_internal/tests/plugins/nginx/__init__.py +++ b/certbot/src/certbot/_internal/tests/plugins/nginx/__init__.py @@ -1 +1,6 @@ """certbot-nginx tests""" +import pytest + + +# Make sure we're only running these tests if our nginx plugin dependencies are installed +pytest.importorskip("pyparsing")