We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A user found when they ran certain tests, this was logged:
[WARN] Failed to generate JUnit XML data for test/python/...
Those tests have a BUILD of:
python_tests( name="tests", dependencies=[ "3rdparty/python:nautobot-plugin-reqs", "3rdparty/python:reqs#pytest-django", "src/python/nautobot_animal_sounds", "src/python/netops_nautobot", "src/python/pytest_nautobot", ], extra_env_vars=[ "DJANGO_SETTINGS_MODULE=nautobot.core.tests.nautobot_config", "NAUTOBOT_CONFIG=./src/python/netops_nautobot/nautobot_config.py", "NAUTOBOT_REDIS_PASSWORD=decinablesprewad", "PYTEST_ADDOPTS=-p pytest_nautobot --reuse-db", ], sources=["**/test_*.py"], )
And we do not guard against PYTEST_ADDOPTS being set by the user; so our communication channel with pytest is stomped:
PYTEST_ADDOPTS
pants/src/python/pants/backend/python/goals/pytest_runner.py
Lines 315 to 322 in a69b8f0
The text was updated successfully, but these errors were encountered:
I'm on it!
Sorry, something went wrong.
Merge pytest addopts (#16614)
8fd8960
Closes #16601
erjac77
Successfully merging a pull request may close this issue.
A user found when they ran certain tests, this was logged:
Those tests have a BUILD of:
And we do not guard against
PYTEST_ADDOPTS
being set by the user; so our communication channel with pytest is stomped:pants/src/python/pants/backend/python/goals/pytest_runner.py
Lines 315 to 322 in a69b8f0
The text was updated successfully, but these errors were encountered: