Skip to content

test: avoid leaking coroutine in timeout test - #342

Merged
eshulman2 merged 1 commit into
forge-sdlc:mainfrom
JoshSalomon:codex/fix-asyncmock-warning
Sep 15, 2026
Merged

eshulman2 merged 1 commit into
forge-sdlc:mainfrom
JoshSalomon:codex/fix-asyncmock-warning

Conversation

@JoshSalomon

Copy link
Copy Markdown
Contributor

Summary

  • exercise the real asyncio timeout and cancellation path in the fetcher timeout test
  • eliminate the unawaited AsyncMock coroutine warning
  • preserve assertions for RefResolutionError and process termination

Testing

  • uv run pytest tests/unit/ -q: 2786 passed
  • uv run pytest tests/unit/skills/test_fetcher.py -q -W error: 34 passed
  • uv run ruff check tests/unit/skills/test_fetcher.py

@eshulman2
eshulman2 merged commit 4d6691f into forge-sdlc:main Sep 15, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants