forked from readthedocs/readthedocs.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pytest.ini
17 lines (16 loc) · 750 Bytes
/
pytest.ini
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[pytest]
addopts = --reuse-db
python_files = tests.py test_*.py *_tests.py
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