Skip to content

Commit

Permalink
Set pywps to 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Mar 16, 2021
1 parent 27dc5f1 commit 76b997d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion environment-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ channels:
- conda-forge
- defaults
dependencies:
- pywps>=4.2.7
- pywps=4.4.0
- sphinx
- nbsphinx
- ipython
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pywps>=4.4
pywps>=4.4.0
jinja2
click
psutil
Expand Down
6 changes: 3 additions & 3 deletions tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ def get_output(doc):
[identifier_el] = xpath_ns(output_el, './ows:Identifier')

lit_el = xpath_ns(output_el, './wps:Data/wps:LiteralData')
if lit_el != []:
if lit_el:
output[identifier_el.text] = lit_el[0].text

ref_el = xpath_ns(output_el, './wps:Reference')
if ref_el != []:
if ref_el:
output[identifier_el.text] = ref_el[0].attrib['href']

data_el = xpath_ns(output_el, './wps:Data/wps:ComplexData')
if data_el != []:
if data_el:
output[identifier_el.text] = data_el[0].text

return output

0 comments on commit 76b997d

Please sign in to comment.