[GRASS-SVN] r62163 - grass/trunk/raster3d/r3.flow/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Oct 2 14:06:47 PDT 2014
Author: wenzeslaus
Date: 2014-10-02 14:06:47 -0700 (Thu, 02 Oct 2014)
New Revision: 62163
Modified:
grass/trunk/raster3d/r3.flow/testsuite/r3flow_test.py
Log:
tests: pass string with commas instead of a list for the pattern option of g.remove (PyGRASS does not allow list when not specified in module interface)
Modified: grass/trunk/raster3d/r3.flow/testsuite/r3flow_test.py
===================================================================
--- grass/trunk/raster3d/r3.flow/testsuite/r3flow_test.py 2014-10-02 20:27:10 UTC (rev 62162)
+++ grass/trunk/raster3d/r3.flow/testsuite/r3flow_test.py 2014-10-02 21:06:47 UTC (rev 62163)
@@ -54,8 +54,8 @@
def tearDownClass(cls):
"""!Remove the temporary region"""
cls.del_temp_region()
- cls.runModule('g.remove', flags='f', type='rast3d', pattern=['map_1', 'map_2', 'map_3', 'map_4', 'map_5', 'test_flowaccum'])
- cls.runModule('g.remove', flags='f', type='vect', pattern=['test_flowline', 'test_seeds'])
+ cls.runModule('g.remove', flags='f', type='rast3d', pattern=','.join(['map_1', 'map_2', 'map_3', 'map_4', 'map_5', 'test_flowaccum']))
+ cls.runModule('g.remove', flags='f', type='vect', pattern=','.join(['test_flowline', 'test_seeds']))
os.remove('./data/flowline_tmp.ascii')
def test_interpolation(self):
More information about the grass-commit
mailing list