From 06e0e7e1077cadb7a80ba1f307632ac75bf82a14 Mon Sep 17 00:00:00 2001 From: shayanaijaz Date: Mon, 6 Nov 2023 16:21:34 -0600 Subject: [PATCH] add pytest filterwarning --- server/pytest.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/pytest.ini b/server/pytest.ini index 823777940..37aabe4a9 100644 --- a/server/pytest.ini +++ b/server/pytest.ini @@ -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.