planetfederal / qgis-mgrs-tools-plugin

GNU General Public License v2.0
6 stars 9 forks source link

lone (manual) test for MGRS in tester plugin fail on BD 1.1 b5 installer #7

Closed gioman closed 7 years ago

gioman commented 7 years ago
Test name: MGRS tools-Test MRGS tools
Test result:Test failed at step 'Load layer' with message:
global name 'os' is not defined
Traceback (most recent call last):
  File "C:/Users/boundless/.qgis2/python/plugins\qgistester\testerwidget.py", line 142, in runNextStep
    execute(step.function)
  File "C:/Users/boundless/.qgis2/python/plugins\qgistester\utils.py", line 70, in execute
    return func()
  File "C:/Users/boundless/.qgis2/python/plugins\mgrstools\tests\testerplugin.py", line 14, in _loadLayer
    layerfile = os.path.join(os.path.dirname(__file__), "data", "MGRS_100kmSQ_ID_02H.shp")
NameError: global name 'os' is not defined
gioman commented 7 years ago

error now is different (after latest commit)

Test name: MGRS tools-Test MRGS tools
Test result:Test failed at step 'Select map tool' with message:
global name 'plugins' is not defined
Traceback (most recent call last):
  File "C:/Users/boundless/.qgis2/python/plugins\qgistester\testerwidget.py", line 142, in runNextStep
    execute(step.function)
  File "C:/Users/boundless/.qgis2/python/plugins\qgistester\utils.py", line 70, in execute
    return func()
  File "C:/Users/boundless/.qgis2/python/plugins\mgrstools\tests\testerplugin.py", line 20, in _setTool
    plugins["mgrstools"].setTool()
NameError: global name 'plugins' is not defined
alexbruy commented 7 years ago

Should be fixed