2016-07-18 18:31:37 +00:00
|
|
|
[pytest]
|
|
|
|
addopts = --reuse-db
|
2017-09-26 02:19:00 +00:00
|
|
|
python_files = tests.py test_*.py *_tests.py
|
2018-12-04 11:21:31 +00:00
|
|
|
filterwarnings =
|
|
|
|
# TODO: this filter has to be removed before migrating to Django
|
|
|
|
# 2.0 and the code has to be upgrade accordingly
|
|
|
|
ignore::django.utils.deprecation.RemovedInDjango20Warning
|
|
|
|
|
|
|
|
# Ignore external dependencies warning deprecations
|
|
|
|
# django-guardian
|
|
|
|
ignore:Shortcut function 'assign'.*:DeprecationWarning
|
|
|
|
# textclassifier
|
|
|
|
ignore:The 'warn' method is deprecated, use 'warning' instead:DeprecationWarning
|
|
|
|
# django-rest-framework
|
|
|
|
ignore:Pagination may yield inconsistent results with an unordered object_list.*:django.core.paginator.UnorderedObjectListWarning
|
|
|
|
# docutils
|
|
|
|
ignore:'U' mode is deprecated:DeprecationWarning
|