From c110d9a349da18a71e8fc4beed772f3dc599a516 Mon Sep 17 00:00:00 2001 From: Pingu Carsti Date: Wed, 10 Apr 2024 17:58:44 +0200 Subject: [PATCH] disabled dashboard process --- duck/processes/__init__.py | 5 +++-- tests/test_wps_caps.py | 13 ++++++------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/duck/processes/__init__.py b/duck/processes/__init__.py index 9bccdb2..69d029b 100644 --- a/duck/processes/__init__.py +++ b/duck/processes/__init__.py @@ -1,7 +1,8 @@ from .wps_clintai import ClintAI -from .wps_dashboard import Dashboard + +# from .wps_dashboard import Dashboard processes = [ ClintAI(), - Dashboard(), + # Dashboard(), ] diff --git a/tests/test_wps_caps.py b/tests/test_wps_caps.py index 6d0f9ba..e32a7ed 100644 --- a/tests/test_wps_caps.py +++ b/tests/test_wps_caps.py @@ -6,12 +6,11 @@ def test_wps_caps(): client = client_for(Service(processes=processes)) - resp = client.get(service='wps', request='getcapabilities', version='1.0.0') - names = resp.xpath_text('/wps:Capabilities' - '/wps:ProcessOfferings' - '/wps:Process' - '/ows:Identifier') + resp = client.get(service="wps", request="getcapabilities", version="1.0.0") + names = resp.xpath_text( + "/wps:Capabilities" "/wps:ProcessOfferings" "/wps:Process" "/ows:Identifier" + ) assert sorted(names.split()) == [ - 'crai', - 'dashboard', + "crai", + # 'dashboard', ]