[Pywps-dev] PYWPS 4 Error test in demo.py

Jachym Cepicky jachym.cepicky at gmail.com
Fri Jun 3 13:14:01 PDT 2016


Hi,

try to get fresh pywps-4-demo (from
https://github.com/PyWPS/pywps-4-demo.git)

we are using tox for running the tests (just "tox" should work)

How I approach:

$ git clone https://github.com/geopython/PyWPS.git
$ git clone https://github.com/PyWPS/pywps-4-demo.git

$ cd pywps-4-demo
$ export PYTHONPATH=../PyWPS
$ $EDITOR pywps.cfg # adjust some config values
$ tox

at my computer, it ends up with


Ran 7 tests in 62.187s

OK

po 30. 5. 2016 v 12:12 odesílatel Lorenzo Bottaccioli <
lorenzo.bottaccioli at gmail.com> napsal:

> Hi I'have run demo.py and I have tried to run the tests but this is the
> result:
>
> lorenzo at lorenzo-eda:~/tools/pywps-4/pywps-4-demo/tests$ python
> __init__.py
> test_valid (tests.test_capabilities.CapabilitiesTest) ... ok
> test_valid (tests.test_describe.DescribeTest) ... ok
> test_valid (tests.test_execute.SayHello)
> GET Execute request ... ok
> test_valid_lineage (tests.test_execute.SayHello)
> GET Execute request, lineage=true ... ok
> test_valid (tests.test_execute.Buffer)
> POST Execute request ... ok
> test_valid (tests.test_execute.Warp)
> POST Execute request ... FAIL
> test_valid_request (tests.test_requests.RequestsTest) ... ok
>
> ======================================================================
> FAIL: test_valid (tests.test_execute.Warp)
> POST Execute request
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "build/bdist.linux-x86_64/egg/tests/test_execute.py", line 65, in
> test_valid
>     assert validate(self.url, self.schema_url, self.request_data)
> AssertionError
>
> ----------------------------------------------------------------------
> Ran 7 tests in 51.850s
>
> FAILED (failures=1)
>
> How can I fix this?
>
> Best,
>
> Lorenzo
> _______________________________________________
> pywps-dev mailing list
> pywps-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/pywps-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20160603/dbde8342/attachment.html>


More information about the pywps-dev mailing list