Conditionally use separate pytest_plugin #11061
Answered
by
RonnyPfannschmidt
f00dog-x300
asked this question in
Q&A
-
Hi all, I know creating a non-top-level conftest is on longer supported. I initially was using them to have separate tests that refer to files with fixtures on specific files. I was wondering if there is a way to conditionally say something like:
|
Beta Was this translation helpful? Give feedback.
Answered by
RonnyPfannschmidt
May 31, 2023
Replies: 1 comment 1 reply
-
No,pluggy is currently not capable to support this,in fact all pytest plugins listed in a contest would always end up global |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
f00dog-x300
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No,pluggy is currently not capable to support this,in fact all pytest plugins listed in a contest would always end up global