KiBot/tests/conftest.py

10 lines
285 B
Python

"""
Test configuration
"""
def pytest_addoption(parser):
parser.addoption("--test_dir", action="store", default=None,
help="the test output dir to use (omit to use a temp dir). "
"If given, outputs will _not_ be cleared after testing.")