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

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Fri Jul 8 16:44:04 CEST 2011


Author: jesus
Date: 2011-07-08 16:44:04 +0200 (Fri, 08 Jul 2011)
New Revision: 1171

Modified:
   branches/pywps-3.2-soap/tests/processes/tests.py
   trunk/tests/processes/tests.py
Log:
Trash cleaning in lineagereturn process


Modified: branches/pywps-3.2-soap/tests/processes/tests.py
===================================================================
--- branches/pywps-3.2-soap/tests/processes/tests.py	2011-07-08 14:29:56 UTC (rev 1170)
+++ branches/pywps-3.2-soap/tests/processes/tests.py	2011-07-08 14:44:04 UTC (rev 1171)
@@ -194,9 +194,5 @@
                                                  minOccurs=1,
                                                  maxOccurs=1)
          self.bboxin = self.addBBoxInput(identifier="bboxin",title="BBox in")
-         #self.vectorIn=self.addComplexInput(self,identifier="vectorin",title="vector input data",formats =[{"mimeType":"application/xml"},{"mimeType":"text/xml"}])
-         #self.rasterIn=self.addComplexInput(self,identifier="rasterin",title="raster input data",formats =[{"mimeType":"image/png"},{"mimeType":"image/bmp"}])
-         #self.literalOut=self.addLiteralOutput(self,identifier="literalout",title="dummy output")
     def execute(self):
-        pass
-        #self.literalOut.setValue("dummy")
\ No newline at end of file
+        pass
\ No newline at end of file

Modified: trunk/tests/processes/tests.py
===================================================================
--- trunk/tests/processes/tests.py	2011-07-08 14:29:56 UTC (rev 1170)
+++ trunk/tests/processes/tests.py	2011-07-08 14:44:04 UTC (rev 1171)
@@ -165,3 +165,22 @@
     def execute(self):
         import time
         time.sleep(2)
+
+class LineageReturn(WPSProcess):
+    """Lineage returning process, testing lineage with multiple inputs per identifier """
+    def __init__(self):
+         WPSProcess.__init__(self, identifier="lineagereturn",title="Dummy process with flags as InputOutput",storeSupported=False, statusSupported=False)
+         self.vectorIn = self.addComplexInput(identifier="vectorin",
+                                                 title="Vector file",
+                                                 formats =[{"mimeType":"application/xml"},{"mimeType":"text/xml"}],
+                                                 minOccurs=1,
+                                                 maxOccurs=1)
+         self.rasterIn = self.addComplexInput(identifier="rasterin",
+                                                 title="Vector file",
+                                                 formats =[{"mimeType":"image/png"},{"mimeType":"image/bmp"}],
+                                                 minOccurs=1,
+                                                 maxOccurs=1)
+         self.bboxin = self.addBBoxInput(identifier="bboxin",title="BBox in")
+    def execute(self):
+        pass
+        
\ No newline at end of file



More information about the Pywps-commits mailing list