Fix use of global assert_all_requests_are_fired. Closes #726#731
Fix use of global assert_all_requests_are_fired. Closes #726#731andrew-cybsafe wants to merge 3 commits intogetsentry:masterfrom
Conversation
Co-authored-by: Mark Story <mark@mark-story.com>
|
@markstory can you kick off the tests again? |
|
@markstory https://github.com/getsentry/responses?tab=readme-ov-file#deprecations-and-migration-path |
@beliaev-maksim the linked doc deprecates |
beliaev-maksim
left a comment
There was a problem hiding this comment.
it feels like the logic should be moved down to the activate() method.
Have you exhausted all the options to make the change self contained within activate ?
@beliaev-maksim This mostly works except for the test_nested_decorators test, but given I only have a superficial understanding of this code, delving into that is more than I can take on right now. |
A somewhat naive fix for the global assert_all_requests_are_fired. Tests are passing locally on 3.12.