From fc4d14ff4ffddb7f2d65f8bdec9f26d0b7a7e209 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 11 Feb 2026 12:40:39 +0100 Subject: [PATCH] skip test on class level Signed-off-by: Otto Moerbeek --- regression-tests.recursor-dnssec/test_Prometheus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression-tests.recursor-dnssec/test_Prometheus.py b/regression-tests.recursor-dnssec/test_Prometheus.py index 9ddf62cc93..c2947f0648 100644 --- a/regression-tests.recursor-dnssec/test_Prometheus.py +++ b/regression-tests.recursor-dnssec/test_Prometheus.py @@ -102,6 +102,7 @@ webservice: self.checkPrometheusContentBasic(r.text) self.checkPrometheusContentPromtool(r.content) +@pytest.mark.skipif('pkcs12' not in RecursorTest.recFeatures(), reason='pkcs12 feature not available') class HttpsPKCS12PrometheusTest(RecPrometheusTest): _confdir = 'HttpsPKCS12Prometheus' _wsPort = 8042 @@ -126,7 +127,6 @@ webservice: def generateRecursorConfig(cls, confdir): super(HttpsPKCS12PrometheusTest, cls).generateRecursorYamlConfig(confdir) - @pytest.mark.skipif('pkcs12' not in RecursorTest.recFeatures(), reason='pkcs12 feature not available') def testPrometheus(self): self.waitForTCPSocket("127.0.0.1", self._wsPort) url = 'https://user:' + self._wsPassword + '@127.0.0.1:' + str(self._wsPort) + '/metrics' -- 2.47.3