mirror of
https://github.com/certbot/certbot.git
synced 2026-06-05 06:42:10 -04:00
8 lines
300 B
Python
8 lines
300 B
Python
import sys
|
|
|
|
|
|
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':
|
|
return path.basename != 'dummy_test.py'
|