From 66b2f7f53f4262ab9ad8017966ea01b7bcafc03c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20F=C3=A4hrmann?= Date: Fri, 8 Aug 2025 11:54:22 +0200 Subject: [PATCH] [tests/results] properly skip tests when missing auth --- test/test_results.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/test_results.py b/test/test_results.py index 37fd8841..cd777619 100644 --- a/test/test_results.py +++ b/test/test_results.py @@ -145,7 +145,8 @@ class TestExtractorResults(unittest.TestCase): config.set((), key, None) if auth and not any(extr.config(key) for key in AUTH_KEYS): - return self._skipped.append((result["#url"], "no auth")) + self._skipped.append((result["#url"], "no auth")) + self.skipTest("no auth") if "#options" in result: for key, value in result["#options"].items():