Skip to content

Commit

Permalink
add pytest filterwarning
Browse files Browse the repository at this point in the history
  • Loading branch information
shayanaijaz committed Nov 6, 2023
1 parent 9388172 commit 06e0e7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions server/pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
DJANGO_SETTINGS_MODULE = portal.settings.unit_test_settings
python_files = tests.py *unit_test.py

filterwarnings =
ignore::DeprecationWarning:twisted.*:
ignore::django.utils.deprecation.RemovedInDjango50Warning
markers =
asyncio: mark a test as asyncio.

Expand Down

0 comments on commit 06e0e7e

Please sign in to comment.