Closed corrado9999 closed 5 years ago
In my local installation I can successfully run the tests on Python 3 (I copied and pasted the commands from the CI log), any help on why the CI reports failure? On Python 2.7 I get errors too, but they are related to unicode encoding, not my edits (I get them also on the master branch/rep).
@corrado9999 there was an update on master with the imports. Please merge master in this PR. Check the imports: https://github.com/geopython/pywps/blob/b7ef2dd6b955a32b698cbe3befebf90c49d379b5/tests/test_literaltypes.py#L10
... and you need to add convert_anyURI
and InvalidParameterValue
.
I got also confused by the tests :)
@corrado9999 merged. Thanks :)
Overview
Fix pywps._compat.urlparse usage.
pywps._compat.urlparse
is a function, butpywps.inout.literaltypes.convert_anyURI
used it as a module.Related Issue / Discussion
486
Additional Information
When adding the test function, another issue emerged with
file:///
schema, thus we agreed to handle this case separately (see #486).Contribution Agreement
(as per https://github.com/geopython/pywps/blob/master/CONTRIBUTING.rst#contributions-and-licensing)