Testing
AniBridge ships Pytest tests for config, Torznab, qBittorrent shim, magnets, and title resolution.
Run tests
bash
pytest -qCoverage
bash
pytest --cov=app --cov-report=term-missingNotes
- Tests use the SQLite DB under
DATA_DIR; the engine is disposed at shutdown to avoid dangling connections. - Some tests monkeypatch title sources —
ANIWORLD_ALPHABET_HTMLcan point to a small HTML fixture.