Replies: 1 comment 3 replies
-
Never under any circumstances should you create a own fixture request object distinct from the one pytest manages What's the surrounding usecase? |
Beta Was this translation helpful? Give feedback.
3 replies
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.
-
Hi!
Could you please help me?
I have code:
and I want to get value of fixture 'tmpdir' in pytest_runtest_setup hook.
For pytest==6.x.x it works, but not on 7.1.x (FixtureLookupError raises on request.getfixturevalue('tmpdir')).
Is it a bug? Or how can I get the value of 'tmpdir' in pytest_runtest_setup in another way?
Beta Was this translation helpful? Give feedback.
All reactions