[GRASS-SVN] r62020 - grass/trunk/raster3d/r3.gradient/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Sep 17 10:47:38 PDT 2014
Author: hcho
Date: 2014-09-17 10:47:38 -0700 (Wed, 17 Sep 2014)
New Revision: 62020
Modified:
grass/trunk/raster3d/r3.gradient/testsuite/r3gradient_test.py
Log:
r3.gradient: g.remove pattern takes only one string
Modified: grass/trunk/raster3d/r3.gradient/testsuite/r3gradient_test.py
===================================================================
--- grass/trunk/raster3d/r3.gradient/testsuite/r3gradient_test.py 2014-09-17 16:54:46 UTC (rev 62019)
+++ grass/trunk/raster3d/r3.gradient/testsuite/r3gradient_test.py 2014-09-17 17:47:38 UTC (rev 62020)
@@ -115,9 +115,10 @@
"""!Remove the temporary region"""
cls.del_temp_region()
cls.runModule('g.remove', flags='f', type='rast3d',
- pattern=['test_map_1_ref', 'test_map_2_ref', 'test_grad_x',
- 'test_grad_y', 'test_grad_z', 'test_null_grad_x',
- 'test_null_grad_y', 'test_null_grad_z'])
+ pattern=','.join(['test_map_1_ref', 'test_map_2_ref',
+ 'test_grad_x', 'test_grad_y',
+ 'test_grad_z', 'test_null_grad_x',
+ 'test_null_grad_y', 'test_null_grad_z']))
def test_gradient_runs(self):
self.runModule('g.region', res3=10, n=100, s=0, w=0, e=120, b=0, t=50)
More information about the grass-commit
mailing list