Undocumented breaking changes from v8->v9? #13988
Unanswered
charmingduchess
asked this question in
Q&A
Replies: 2 comments 1 reply
-
|
this is related to fxitures no longer being functions there should be a warning on this a quick workaround is to put fixture around responses.activate isntead of within |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Yea I got a working solution, I'm more curious as to why this isn't called out in 9.0 breaking changes? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Looking though the backwards-incompatible breaking changes in the release notes for v9, I don't see anything called out that would cause the following code to stop working. Yet, when I run this test using v9.0.0, I get an error:
fixture 'mock_token_server' not foundThe other tests not using this fixture pass in v9, and all tests, including tests that use the fixture run fine when I revert to 8.3.5.
Am I missing something? The only changes I see regarding fixtures is this bug fix, but that doesn't feel relevant here.
pinned dependencies from pyproject:
EDIT: updated so code is more reproducible
Beta Was this translation helpful? Give feedback.
All reactions