Merge pull request #5278 from blueyed/disable-python-plugin

Allow disabling of python plugin
This commit is contained in:
Daniel Hahler
2019-05-23 15:52:19 +02:00
committed by GitHub
6 changed files with 29 additions and 10 deletions

View File

@@ -79,15 +79,10 @@ def pytest_addoption(parser):
default=False,
help="show fixtures per test",
)
parser.addini(
"usefixtures",
type="args",
default=[],
help="list of default fixtures to be used with this project",
)
parser.addini(
"python_files",
type="args",
# NOTE: default is also used in AssertionRewritingHook.
default=["test_*.py", "*_test.py"],
help="glob-style file patterns for Python test module discovery",
)