wf-transcriptomes-v202/bin/workflow_glue/tests/conftest.py
2026-05-05 14:10:04 +00:00

21 lines
524 B
Python

#!/usr/bin/env python
"""Pytests argument definitions."""
from pathlib import Path
import sys
# The CI template invokes `pytest /host/bin/workflow_glue/tests`, so add
# `/host/bin` explicitly to keep imports stable regardless of the working
# directory pytest picks.
sys.path.insert(0, str(Path(__file__).resolve().parents[2]))
def pytest_addoption(parser):
"""Define command line arguments for pytest."""
parser.addoption(
"--test_data",
action="store",
default="/host/test_data"
)