certbot/certbot-apache/tests/conftest.py

9 lines
300 B
Python
Raw Permalink Normal View History

import sys
2021-05-31 15:31:28 -04:00
def pytest_ignore_collect(path, config): # pragma: no cover
# Do not run any test for certbot-apache on Windows, except obj_test which is safe
# (to avoid pytest to fail because no test was found).
if sys.platform == 'win32':
2021-05-31 16:33:03 -04:00
return path.basename != 'dummy_test.py'