Skip to content

Conversation

@daniel-sanche
Copy link
Contributor

Fixes #2046

The issue came down to using AsyncMock with streaming Operation rpcs. To resolve it, I had to make the AsyncMock return a standard mock.Mock

I also improved the comments and variable names to make future work in this area more clear

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jul 30, 2024
@product-auto-label product-auto-label bot added size: l Pull request size is large. and removed size: s Pull request size is small. labels Jul 30, 2024
@product-auto-label product-auto-label bot added size: xl Pull request size is extra large. and removed size: l Pull request size is large. labels Jul 31, 2024
@daniel-sanche daniel-sanche marked this pull request as ready for review July 31, 2024 00:07
@daniel-sanche daniel-sanche requested a review from a team as a code owner July 31, 2024 00:07
@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 6, 2024
@gcf-owl-bot gcf-owl-bot bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Aug 6, 2024
@parthea parthea merged commit b5ad486 into main Aug 6, 2024
@parthea parthea deleted the fix-warnings branch August 6, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: xl Pull request size is extra large.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited in generated tests

3 participants