Skip to content

How can I access the return value of a fixture defined via @pytest.mark.usefixtures #8816

Discussion options

You must be logged in to vote

if you want to use the value of a fixture, take it as a function argument

pytest will not under any circumstance monkeypatch fixtures into other places

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by FelixKJose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants