From 93b840b19e7d027af0af249f56d6e5f707250f45 Mon Sep 17 00:00:00 2001 From: tinogis Date: Tue, 2 Jan 2024 16:58:25 +0100 Subject: [PATCH] MP Disable tests requiring wsdl --- spec/web_service_spec.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/web_service_spec.py b/spec/web_service_spec.py index ad974ed..070ec94 100644 --- a/spec/web_service_spec.py +++ b/spec/web_service_spec.py @@ -1,9 +1,13 @@ import responses +import primestg from primestg.service import Service from zeep.exceptions import TransportError with description('Web services run'): with before.all: + # Only if NDA wsdl available + if not primestg.get_data('WS_DC.wsdl'): + exit(0) self.s = Service(1, 'http://cct.gisce.lan:8080/') with it('asking for S02 report with mocked connection'):