Run from the project root:
python3 -m pytest -q
These tests use pytest, tmp_path, and unittest.mock. Network access and aria2c
execution are mocked; no real torrent/MPQ downloads are performed.
Place these four files under your existing src/tests/ directory.