Added options to pytest calls (#23083)
- added more default options to pytest calls in setup.cfg and pytest.ini files. - pytest-json-report's plugin name in pluggy has changed, so added option for multiple names
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[pytest]
|
||||
DJANGO_SETTINGS_MODULE = cms.envs.test
|
||||
addopts = --nomigrations --reuse-db --durations=20 -p no:randomly
|
||||
addopts = --nomigrations --reuse-db --durations=20 -p no:randomly --json-report --json-report-omit keywords streams collectors log traceback tests --json-report-file=none
|
||||
# Enable default handling for all warnings, including those that are ignored by default;
|
||||
# but hide rate-limit warnings (because we deliberately don't throttle test user logins)
|
||||
# and field_data deprecation warnings (because fixing them requires a major low-priority refactoring)
|
||||
|
||||
Reference in New Issue
Block a user