فهرست منبع

r3.gradient: g.remove pattern takes only one string

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@62020 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 10 سال پیش
والد
کامیت
be32079691
1فایلهای تغییر یافته به همراه4 افزوده شده و 3 حذف شده
  1. 4 3
      raster3d/r3.gradient/testsuite/r3gradient_test.py

+ 4 - 3
raster3d/r3.gradient/testsuite/r3gradient_test.py

@@ -115,9 +115,10 @@ class GradientTest(TestCase):
         """!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)