From 4990abdf4a8d5410f86ebb26876a088d44ae7e43 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Thu, 26 Jun 2025 18:52:18 +0200 Subject: [PATCH] ignore setup.py for test collection Signed-off-by: Marc 'risson' Schmitt --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index bb32586ed5..0a38fb5c3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -233,7 +233,7 @@ show_missing = true DJANGO_SETTINGS_MODULE = "authentik.root.settings" python_files = ["tests.py", "test_*.py", "*_tests.py"] junit_family = "xunit2" -addopts = "-p authentik.root.test_plugin --junitxml=unittest.xml -vv --full-trace --doctest-modules --import-mode=importlib" +addopts = "-p authentik.root.test_plugin --junitxml=unittest.xml -vv --full-trace --doctest-modules --import-mode=importlib --ignore=authentik/tasks/setup.py" 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",