fix(tests): eliminate AsyncMock unawaited-coroutine warnings in slack tests #35
Reference in New Issue
Block a user
Delete Branch "fix/unawaited-coroutine-warnings-prod"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Eliminates RuntimeWarning for unawaited coroutines in Slack gateway tests by setting explicit return_value dicts on AsyncMock client methods.
Test plan
LGTM — scoped Slack test fixture fix; explicit AsyncMock return values match the code paths and remove unawaited-coroutine warnings without behavior risk.