I suspect I'm not going to get this to work. I hit the problem that my plugin 's code used iface, which was not recognised. I managed to inject the dummy iface replacement created in the qgis_get_app () function mentioned above. However, next the code calls:
```python IFACE.legendInterface().groupLayerRelationship() ``` While the dummy iface implements a method legendInterface(), it's just a stub. It doesn't even return the right object type, but returns a canvas object instead. I might be able to expand the dummy iface to add in the extra features required to get the right object type returned by that method, but isn't this all pointless? - the more dummy object I have to build, the less real object I am testing - the dummy won't have the session data associated with it, such as the project's layers An I misunderstanding something, or is my attempt to set up testing for qgis2web doomed? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Using-TravisCI-integration-in-Github-for-QGIS-Python-plugin-tp5207646p5213199.html Sent from the Quantum GIS - Developer mailing list archive at Nabble.com. _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer