skip apache/nginx tests if their dependencies aren't installed

This commit is contained in:
Will Greenberg 2026-02-04 14:26:40 -08:00
parent 54318c04e9
commit 6d2e9d0fac
2 changed files with 11 additions and 0 deletions

View file

@ -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")

View file

@ -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")