fix: add @pytest.mark.asyncio to async test methods (#21) #30

Merged
cal merged 2 commits from ai/paper-dynasty-card-creation#21 into main 2026-03-23 13:25:12 +00:00

2 Commits

Author SHA1 Message Date
cal
424b7da78d Merge branch 'main' into ai/paper-dynasty-card-creation#21 2026-03-23 13:24:40 +00:00
Cal Corum
ee4dae0985 fix: add @pytest.mark.asyncio to async test methods (#21)
Closes #21

All 14 async test methods in tests/test_automated_data_fetcher.py were
missing @pytest.mark.asyncio. Without it, pytest collects them and
silently passes without executing the coroutine body, providing no
coverage.

Added explicit @pytest.mark.asyncio to each async def test_* method.
This makes the async intent unambiguous and is robust against any
future asyncio_mode configuration changes.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-20 14:33:52 -05:00