Files
edx-platform/common/test/pytest.ini
Muhammad Soban Javed 2732934e74 fix: re-enable Django deprecation warnings (#32277)
* fix: re-enable Django deprecation warnings
---------

Co-authored-by: UsamaSadiq <usama7274@gmail.com>
2023-08-07 22:08:00 +05:00

15 lines
856 B
INI

[pytest]
# Note: The first file of settings found is used, there is no combining, so
# this file is used for the tests in the common/test tree, and setup.cfg is ignored.
# Details at https://docs.pytest.org/en/latest/reference/customize.html
addopts = -p no:randomly --durations=20 --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)
filterwarnings =
default
ignore:No request passed to the backend, unable to rate-limit:UserWarning
ignore::xblock.exceptions.FieldDataDeprecationWarning
norecursedirs = .cache