Skip to content

conftest fixtures dependent on partially configured plugin #12758

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

You must be logged in to vote

At first glance it sounds like there's a lot of stuff broken

You can self implement your proposed solution by implementing a try last marked pytest- configure hook that registers the new plugin after import

If that's not feasible it can also be done in the session start Hook

It would be better if you could get by in a different way, it's fragile

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by couteau
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
Category
Q&A
Labels
None yet
2 participants