[Qgis-developer] ogrLayerName in processing/tools/vector.py

Mark Johnson mj10777 at googlemail.com
Tue Oct 18 04:36:14 PDT 2016


Sorry, but I often have problems with python ...

Are you supposed to configure something beforehand?
This is what I get:

UpdateCTestConfiguration  from
:.../QGIS/build_release-2_16/DartConfiguration.tcl
Parse Config
file:/home/mj10777/000_links/gis_software/qgis_git/mj10777/QGIS/build_release-2_16/DartConfiguration.tcl
 Add coverage exclude regular expressions.
 Add coverage exclude: /CMakeFiles/CMakeTmp/
 Add coverage exclude: .*/Testing/Utilities/.*
 Add coverage exclude: .*/Utilities/.*
 Add coverage exclude: .*/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.*
 Add coverage exclude: .*/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.*
UpdateCTestConfiguration  from
:/home/mj10777/000_links/qgis_git/QGIS/build_release-2_16/DartConfiguration.tcl
Parse Config
file:/home/mj10777/000_links/qgis_git/QGIS/build_release-2_16/DartConfiguration.tcl
Test project
/home/mj10777/000_links/gis_software/qgis_git/mj10777/QGIS/build_release-2_16
Constructing a list of tests
Done constructing a list of tests
Checking test dependency graph...
Checking test dependency graph end
No tests were found!!!

Calling the test directly

python ToolsTest.py
Traceback (most recent call last):
  File "ToolsTest.py", line 29, in <module>
    from processing.tests.TestData import points2
ImportError: No module named processing.tests.TestData

The directory data exists and contains points2.shp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20161018/e495699c/attachment.html>


More information about the Qgis-developer mailing list