[GRASS-SVN] r54674 - grass-addons/grass7/raster/r.agent/tests

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jan 16 08:18:09 PST 2013


Author: mic
Date: 2013-01-16 08:18:09 -0800 (Wed, 16 Jan 2013)
New Revision: 54674

Modified:
   grass-addons/grass7/raster/r.agent/tests/test_grassland.py
Log:
cleanup tests

Modified: grass-addons/grass7/raster/r.agent/tests/test_grassland.py
===================================================================
--- grass-addons/grass7/raster/r.agent/tests/test_grassland.py	2013-01-16 15:59:33 UTC (rev 54673)
+++ grass-addons/grass7/raster/r.agent/tests/test_grassland.py	2013-01-16 16:18:09 UTC (rev 54674)
@@ -17,9 +17,13 @@
         self.assertIsNotNone(self.pg.getbound("w"))
         self.assertIsNotNone(self.pg.getbound("e"))
 
-#    def test_setlayer(self):
-# Enought if tested from Playground and e.g. setgrasslayer below..
+    #def test_setlayer(self):
+       # gets tested in createlayer and super()/Playground
 
+    def test_setgrasslayer(self):
+        #TODO better test manually?
+        pass
+
     def test_createlayer(self):
         self.pg.createlayer("foo", "foo")
         self.assertTrue(self.pg.layers.has_key("foo"))
@@ -38,6 +42,7 @@
         self.assertFalse(self.pg.grassmapnames.has_key("foo"))
 
     def test_writelayer(self):
+        #TODO better test manually?
         pass
 
 #    def tearDown(self):



More information about the grass-commit mailing list