[Pywps-commits] r1186 - branches/pywps-3.2-soap/tests
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Aug 8 12:49:14 CEST 2011
Author: jesus
Date: 2011-08-08 12:49:14 +0200 (Mon, 08 Aug 2011)
New Revision: 1186
Modified:
branches/pywps-3.2-soap/tests/perform_requests.py
Log:
FEATURE: There wasn't a way to input "@" as incoded "%40". Path by Andrea Francia (andrea__AT__andreafrancia.it)
Modified: branches/pywps-3.2-soap/tests/perform_requests.py
===================================================================
--- branches/pywps-3.2-soap/tests/perform_requests.py 2011-08-08 10:47:26 UTC (rev 1185)
+++ branches/pywps-3.2-soap/tests/perform_requests.py 2011-08-08 10:49:14 UTC (rev 1186)
@@ -161,7 +161,7 @@
getpywps = pywps.Pywps(pywps.METHOD_GET)
postpywps = pywps.Pywps(pywps.METHOD_POST)
- getinputs = getpywps.parseRequest("service=wps&version=1.0.0&request=execute&identifier=literalprocess&datainputs=[int=1;string=spam;float=1.1;zeroset=0.0;bool=False]")
+ getinputs = getpywps.parseRequest("service=wps&version=1.0.0&request=execute&identifier=literalprocess&datainputs=[int=1;string=spam%40foo.com;float=1.1;zeroset=0.0;bool=False]")
executeRequestFile = open(os.path.join(pywpsPath,"tests","requests","wps_execute_request-literalinput.xml"))
postinputs = postpywps.parseRequest(executeRequestFile)
@@ -187,7 +187,7 @@
self.assertEquals(getliteraldata[0].firstChild.nodeValue, "1")
self.assertEquals(getliteraldata[1].firstChild.nodeValue, "1.1")
self.assertEquals(getliteraldata[2].firstChild.nodeValue, "False")
- self.assertEquals(getliteraldata[3].firstChild.nodeValue, "spam")
+ self.assertEquals(getliteraldata[3].firstChild.nodeValue, "spam at foo.com")
More information about the Pywps-commits
mailing list