use uv to run test, more fixes

This commit is contained in:
2026-07-07 23:43:48 +08:00
parent f7d6a51220
commit 268483577e
16 changed files with 705 additions and 127 deletions

8
tests/run_with_uv.py Normal file
View File

@@ -0,0 +1,8 @@
"""Entry point for uv run: adds tests dir to path and runs pytest."""
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.resolve()))
import pytest
sys.exit(pytest.main(sys.argv[1:]))