From 1a5b626f96afa7830d57ec1c113c7688ca78a1e1 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Thu, 19 Jan 2023 20:34:51 +0100 Subject: [PATCH] root: match warning exclusions in pytest Signed-off-by: Jens Langhammer --- pyproject.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 015b0b4a8..72359398a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -107,6 +107,10 @@ DJANGO_SETTINGS_MODULE = "authentik.root.settings" python_files = ["tests.py", "test_*.py", "*_tests.py"] junit_family = "xunit2" addopts = "-p no:celery --junitxml=unittest.xml" +filterwarnings = [ + "ignore:defusedxml.lxml is no longer supported and will be removed in a future release.:DeprecationWarning", + "ignore:SelectableGroups dict interface is deprecated. Use select.:DeprecationWarning", +] [tool.poetry] name = "authentik"