[Pywps-commits] r1198 - branches/pywps-3.2-soap/tests/processes

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Aug 31 10:54:45 CEST 2011


Author: jesus
Date: 2011-08-31 10:54:45 +0200 (Wed, 31 Aug 2011)
New Revision: 1198

Modified:
   branches/pywps-3.2-soap/tests/processes/__init__.py
   branches/pywps-3.2-soap/tests/processes/returner.py
   branches/pywps-3.2-soap/tests/processes/tests.py
Log:
sync with trunk

Modified: branches/pywps-3.2-soap/tests/processes/__init__.py
===================================================================
--- branches/pywps-3.2-soap/tests/processes/__init__.py	2011-08-31 08:53:59 UTC (rev 1197)
+++ branches/pywps-3.2-soap/tests/processes/__init__.py	2011-08-31 08:54:45 UTC (rev 1198)
@@ -1,2 +1,3 @@
-__all__ = ["returner","tests","dummyprocess","moreInOne","moreInstancesInOne","ultimatequestionprocess"]
+__all__ = ["returner","dummyprocess","moreInOne","moreInstancesInOne","tests","buffer","ultimatequestionprocess"]
 
+

Modified: branches/pywps-3.2-soap/tests/processes/returner.py
===================================================================
--- branches/pywps-3.2-soap/tests/processes/returner.py	2011-08-31 08:53:59 UTC (rev 1197)
+++ branches/pywps-3.2-soap/tests/processes/returner.py	2011-08-31 08:54:45 UTC (rev 1198)
@@ -12,8 +12,8 @@
             abstract="""This is demonstration process of PyWPS, returns
             the same file, it gets on input, as the output.""",
             version = "1.0",
-            storeSupported = "true",
-            statusSupported = "true")
+            storeSupported = True,
+            statusSupported = True)
 
         ##
         # Adding process inputs

Modified: branches/pywps-3.2-soap/tests/processes/tests.py
===================================================================
--- branches/pywps-3.2-soap/tests/processes/tests.py	2011-08-31 08:53:59 UTC (rev 1197)
+++ branches/pywps-3.2-soap/tests/processes/tests.py	2011-08-31 08:54:45 UTC (rev 1198)
@@ -13,6 +13,7 @@
     def __init__(self):
         WPSProcess.__init__(self, identifier = "literalprocess",
                 title="Literal process",
+                storeSupported=True,
                 metadata=[{"title":"Foobar","href":"http://foo/bar"},
                           {"title":"Barfoo","href":"http://bar/foo"},
                           {"title":"Literal process"},
@@ -35,7 +36,7 @@
                                                  type = type(0.0))
 
         self.zeroInSet = self.addLiteralInput(identifier="zeroset",
-                                                 title="Zero data input",
+                                                title="Zero data input",
                                                  type = type(0.0))
         
         self.boolIn = self.addLiteralInput(identifier="bool",
@@ -53,7 +54,7 @@
                                                  title="Float data out",
                                                  type = type(0.0))
         self.boolOut = self.addLiteralOutput(identifier="bool",
-                                                 title="Boolean data out",
+                                                title="Boolean data out",
                                                  type = type(False))
         
     def execute(self):
@@ -62,6 +63,8 @@
         self.floatOut.setValue(self.floatIn.getValue())
         self.boolOut.setValue(self.boolIn.getValue())
 
+   
+
 class ComplexProcess(WPSProcess):
     """This process defines raster and vector data in- and outputs"""
 



More information about the Pywps-commits mailing list