Преглед изворни кода

testing: remove also rasters and 3D rasters (although rasters should be removed by t.remove)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@61460 15284696-431f-4ddb-bdfa-cd5b030d7da7
Vaclav Petras пре 10 година
родитељ
комит
6239aa3b19
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py

+ 4 - 0
temporal/t.rast.to.rast3/testsuite/test_strds_to_rast3.py

@@ -68,6 +68,8 @@ class TestSTRDSToRast3(TestCase):
         """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 @@ class TestSTRDSToRast3MultiGran(TestCase):
     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):