Skip to content
New issue

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

--override-ini now correctly overrides some fundamental options like "python_files" #2241

Merged

Conversation

nicoddemus
Copy link
Member

@coveralls
Copy link

Coverage Status

Coverage increased (+0.0008%) to 92.709% when pulling 9eb1d73 on nicoddemus:override-python-files into 3d9c5cf on pytest-dev:master.

@eli-b
Copy link
Contributor

eli-b commented Feb 15, 2017

+1

This also enables overriding addopts.
I have plugin-specific options in my addopts. If I use pytest -p no:my_plugin, pytest fails because of the now-unknown options in my addopts. This commit would allow me to turn off plugins without having to temporarily delete my pytest.ini.

@RonnyPfannschmidt RonnyPfannschmidt merged commit 0a26132 into pytest-dev:master Feb 15, 2017
@nicoddemus nicoddemus deleted the override-python-files branch February 15, 2017 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants