Skip to content

package scoped fixture #11938

Answered by Colelyman
jefflieu asked this question in General
Feb 5, 2024 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

In other words package1 and package2 are subpackages, and the @pytest.fixture(scope="package") decorator only refers to the outer package, not the subpackages.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

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

Answer selected by jefflieu
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants