Spaces:
Running
Running
| """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) | |