Skip to content

What is fixture_function in the fixture annotation #13596

Answered by RonnyPfannschmidt
Tusenka asked this question in Q&A
Discussion options

You must be logged in to vote

When the decorators is used without parens thats where the function goes

@fixture
def mything():
   ...

mything ends up as fixture function

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Tusenka
Comment options

Answer selected by Tusenka
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