The two validate_public_request hook tests used @pytest.mark.asyncio which requires pytest-asyncio at collection time. CI only installs httpx + Pillow + pytest, so the marker decoded as PytestUnknownMark and the test bodies failed with "async def functions are not natively supported." Switches both to plain sync tests that drive the coroutine via asyncio.run(), matching the pattern already used in test_cache.py for the same reason. Audit-Ref: SECURITY_AUDIT.md finding #1 (test infrastructure) |
||
|---|---|---|
| .. | ||
| core | ||
| gui | ||
| __init__.py | ||
| conftest.py | ||