Skip to content

Commit

Permalink
disabled dashboard process
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Apr 10, 2024
1 parent 76ca1db commit c110d9a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
5 changes: 3 additions & 2 deletions duck/processes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
from .wps_clintai import ClintAI
from .wps_dashboard import Dashboard

# from .wps_dashboard import Dashboard

processes = [
ClintAI(),
Dashboard(),
# Dashboard(),
]
13 changes: 6 additions & 7 deletions tests/test_wps_caps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]

0 comments on commit c110d9a

Please sign in to comment.