[GRASS-SVN] r63955 - in grass/trunk/lib/gis: . testsuite

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jan 5 08:03:39 PST 2015


Author: neteler
Date: 2015-01-05 08:03:39 -0800 (Mon, 05 Jan 2015)
New Revision: 63955

Modified:
   grass/trunk/lib/gis/gislib.dox
   grass/trunk/lib/gis/testsuite/gis_lib_env_test.py
Log:
testsuite + doxygen: update for r63830

Modified: grass/trunk/lib/gis/gislib.dox
===================================================================
--- grass/trunk/lib/gis/gislib.dox	2015-01-05 15:45:39 UTC (rev 63954)
+++ grass/trunk/lib/gis/gislib.dox	2015-01-05 16:03:39 UTC (rev 63955)
@@ -264,7 +264,7 @@
 
  - G_getenv()
 
- - G__getenv()
+ - G_getenv_nofatal()
 
 These routines look up the variable <em>name</em> in the GRASS
 environment and return its value (which is a character string). If

Modified: grass/trunk/lib/gis/testsuite/gis_lib_env_test.py
===================================================================
--- grass/trunk/lib/gis/testsuite/gis_lib_env_test.py	2015-01-05 15:45:39 UTC (rev 63954)
+++ grass/trunk/lib/gis/testsuite/gis_lib_env_test.py	2015-01-05 16:03:39 UTC (rev 63955)
@@ -23,9 +23,9 @@
         # In memory management
         libgis.G_setenv_nogisrc("TEST", "B");
 
-        value = libgis.G__getenv("TEST")
+        value = libgis.G_getenv_nofatal("TEST")
         self.assertEqual(value, "B")
-        value = libgis.G__getenv2("TEST", libgis.G_VAR_GISRC)
+        value = libgis.G_getenv_nofatal2("TEST", libgis.G_VAR_GISRC)
         self.assertEqual(value, "B")
         # Force reading
         libgis.G__read_gisrc_env()
@@ -59,7 +59,7 @@
         self.assertEqual(value, "C")
  
         libgis.G_setenv_nogisrc2("TEST", "D", libgis.G_VAR_MAPSET);
-        value = libgis.G__getenv2("TEST", libgis.G_VAR_MAPSET)
+        value = libgis.G_getenv_nofatal2("TEST", libgis.G_VAR_MAPSET)
         self.assertEqual(value, "D")
         # Force reading
         libgis.G__read_mapset_env()



More information about the grass-commit mailing list