[GRASS-SVN] r61460 - grass/trunk/temporal/t.rast.to.rast3/testsuite

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jul 30 08:06:54 PDT 2014


Author: wenzeslaus
Date: 2014-07-30 08:06:54 -0700 (Wed, 30 Jul 2014)
New Revision: 61460

Modified:
   grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py
Log:
testing: remove also rasters and 3D rasters (although rasters should be removed by t.remove)

Modified: grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py
===================================================================
--- grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py	2014-07-30 15:04:59 UTC (rev 61459)
+++ grass/trunk/temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py	2014-07-30 15:06:54 UTC (rev 61460)
@@ -68,6 +68,8 @@
         """Remove generated data"""
         self.runModule("t.remove",  flags="rf",  type="strds",  
                                    inputs="precip_i,precip_f,precip_d")
+        self.runModule('g.mremove', type='rast', pattern='prec_*', flags='f')
+        self.runModule('g.mremove', type='rast3d', pattern='precip_*', flags='f')
         self.del_temp_region()
 
     def test_3m(self):
@@ -257,6 +259,8 @@
     def tearDown(self):
         """Remove generated data"""
         self.runModule("t.remove",  flags="rf",  type="strds", inputs="precip_d")
+        self.runModule('g.mremove', type='rast', pattern='prec_*', flags='f')
+        self.runModule('g.mremove', type='rast3d', pattern='precip_*', flags='f')
         self.del_temp_region()
 
     def test_years(self):



More information about the grass-commit mailing list