[GRASS-SVN] r71304 - grass/trunk/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jul 22 09:25:37 PDT 2017


Author: wenzeslaus
Date: 2017-07-22 09:25:37 -0700 (Sat, 22 Jul 2017)
New Revision: 71304

Modified:
   grass/trunk/gui/wxpython/mapdisp/test_mapdisp.py
Log:
wxGUI/mapdisp: make the test code work with current API (no MeasureController, GUI not on path)

Modified: grass/trunk/gui/wxpython/mapdisp/test_mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/test_mapdisp.py	2017-07-22 15:50:52 UTC (rev 71303)
+++ grass/trunk/gui/wxpython/mapdisp/test_mapdisp.py	2017-07-22 16:25:37 UTC (rev 71304)
@@ -55,6 +55,9 @@
 
 import grass.script as grass
 
+from grass.script.setup import set_gui_path
+set_gui_path()
+
 from core.utils import _
 from core.settings import UserSettings
 from core.globalvar import CheckWxVersion
@@ -194,11 +197,6 @@
 
         window.ZoomToWind()
 
-        from mapdisp.frame import MeasureController
-        self.measureController = MeasureController(giface)
-        self.measureController.StartMeasurement()
-        self._listenToAllMapWindowSignals(window)
-
         self.frame.Show()
 
     def testMapWindowDistance(self, giface, map_):



More information about the grass-commit mailing list