[GRASS-SVN] r66742 - grass/trunk/scripts/v.rast.stats/testsuite
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 4 04:59:21 PST 2015
Author: neteler
Date: 2015-11-04 04:59:20 -0800 (Wed, 04 Nov 2015)
New Revision: 66742
Modified:
grass/trunk/scripts/v.rast.stats/testsuite/test_v_rast_stats.py
Log:
test_v_rast_stats.py: fix indentation. TODO: understand pass in tearDown()
Modified: grass/trunk/scripts/v.rast.stats/testsuite/test_v_rast_stats.py
===================================================================
--- grass/trunk/scripts/v.rast.stats/testsuite/test_v_rast_stats.py 2015-11-04 12:51:20 UTC (rev 66741)
+++ grass/trunk/scripts/v.rast.stats/testsuite/test_v_rast_stats.py 2015-11-04 12:59:20 UTC (rev 66742)
@@ -19,7 +19,7 @@
cls.del_temp_region()
def tearDown(self):
- pass
+ pass
self.runModule("g.remove", flags='f', type="raster", name="map_a")
self.runModule("g.remove", flags='f', type="raster", name="map_b")
self.runModule("g.remove", flags='f', type="raster", name="zone_map")
@@ -46,9 +46,9 @@
method=["minimum","maximum","sum"], flags="c",
column_prefix="a")
v_db_select = SimpleModule("v.db.select", map="zone_map")
- self.runModule(v_db_select)
-
- self.assertLooksLike(univar_string, v_db_select.outputs.stdout)
+
+ self.runModule(v_db_select)
+ self.assertLooksLike(univar_string, v_db_select.outputs.stdout)
class TestRastStatsFails(TestCase):
More information about the grass-commit
mailing list