syntheogenesis / tests /conftest.py
Tengo Gzirishvili
CRISPR M0: validation test suite + fix KO cut-position copy-paste bug
36858f4
Raw
History Blame Contribute Delete
517 Bytes
"""Pytest bootstrap for the TuringDNA CRISPR engine test suite.
Adds the HF-Space repo root (the parent of this `tests/` dir) to
sys.path so `import dee.core.*` resolves without installing the package.
These tests are dev-only — they do NOT ship in the Docker image and are
not listed in requirements.txt. Run with: pip install pytest && pytest -q
"""
import os
import sys
_REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
if _REPO_ROOT not in sys.path:
sys.path.insert(0, _REPO_ROOT)