1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
def pytest_addoption(parser):
"""Add the special options for interactive tests."""
parser.addoption('--non-interactive',
action='store_true',
help='[Interactive tests only] Do not use interactive prompts. '
'Skip tests that cannot validate or run without.'
)
parser.addoption('--sanity',
action='store_true',
help='[Interactive tests only] Do not use interactive prompts. '
'Only skips tests that cannot finish without user intervention.'
)
# Import shared fixtures
from .base.data import test_data
from .base.event_loop import event_loop
from .base.interactive import interactive
from .base.performance import performance
|