parser.addoption is not working if the argument value is alluredir #13220
Unanswered
ChrstnAnsl
asked this question in
Q&A
Replies: 2 comments
-
The ask is unclear The option in question is owned by the allure plugin I'm unaware of mechanisms to configure/ reconfigure it Please bring the requirement up with the allure project |
Beta Was this translation helpful? Give feedback.
0 replies
-
Converting to a discussion since this is not a bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm encountering an error when attempting to add --alluredir in conftest.py. The error message points to a conflict in argparse.py:
It seems that --alluredir is already registered, causing a conflict. What would be the best approach to handle this and set a default directory without overriding existing configurations? Our target is to check if the allure key is set to true into our configuration before running the --alluredir
pytest and operating system
Code example
Beta Was this translation helpful? Give feedback.
All reactions