<div dir="ltr">Hi,<div><br></div><div>try to get fresh pywps-4-demo (from <a href="https://github.com/PyWPS/pywps-4-demo.git">https://github.com/PyWPS/pywps-4-demo.git</a>) </div><div><br></div><div>we are using tox for running the tests (just "tox" should work)</div><div><br></div><div>How I approach:</div><div><br></div><div>$ git clone <a href="https://github.com/geopython/PyWPS.git">https://github.com/geopython/PyWPS.git</a></div><div>$ git clone <a href="https://github.com/PyWPS/pywps-4-demo.git">https://github.com/PyWPS/pywps-4-demo.git</a></div><div><br></div><div>$ cd pywps-4-demo</div><div>$ export PYTHONPATH=../PyWPS</div><div>$ $EDITOR pywps.cfg # adjust some config values</div><div>$ tox</div><div><br></div><div>at my computer, it ends up with </div><div><br></div><div><br></div><div><div>Ran 7 tests in 62.187s</div><div><br></div><div>OK</div></div></div><br><div class="gmail_quote"><div dir="ltr">po 30. 5. 2016 v 12:12 odesílatel Lorenzo Bottaccioli <<a href="mailto:lorenzo.bottaccioli@gmail.com">lorenzo.bottaccioli@gmail.com</a>> napsal:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi I'have run demo.py and I have tried to run the tests but this is the result:<div><br></div><div>lorenzo@lorenzo-eda:~/tools/pywps-4/pywps-4-demo/tests$ python __init__.py <div>test_valid (tests.test_capabilities.CapabilitiesTest) ... ok</div><div>test_valid (tests.test_describe.DescribeTest) ... ok</div><div>test_valid (tests.test_execute.SayHello)</div><div>GET Execute request ... ok</div><div>test_valid_lineage (tests.test_execute.SayHello)</div><div>GET Execute request, lineage=true ... ok</div><div>test_valid (tests.test_execute.Buffer)</div><div>POST Execute request ... ok</div><div>test_valid (tests.test_execute.Warp)</div><div>POST Execute request ... FAIL</div><div>test_valid_request (tests.test_requests.RequestsTest) ... ok</div><div><br></div><div>======================================================================</div><div>FAIL: test_valid (tests.test_execute.Warp)</div><div>POST Execute request</div><div>----------------------------------------------------------------------</div><div>Traceback (most recent call last):</div><div>  File "build/bdist.linux-x86_64/egg/tests/test_execute.py", line 65, in test_valid</div><div>    assert validate(self.url, self.schema_url, self.request_data)</div><div>AssertionError</div><div><br></div><div>----------------------------------------------------------------------</div><div>Ran 7 tests in 51.850s</div><div><br></div><div>FAILED (failures=1)</div><div><br></div></div><div>How can I fix this?<br><br>Best,<br><br>Lorenzo</div></div>
_______________________________________________<br>
pywps-dev mailing list<br>
<a href="mailto:pywps-dev@lists.osgeo.org" target="_blank">pywps-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/pywps-dev" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/pywps-dev</a></blockquote></div>