GispoCoding / pytest-qgis

A pytest plugin for testing QGIS python plugins
GNU General Public License v2.0
29 stars 8 forks source link

Use hook to patch the imported iface #4

Closed Joonalai closed 2 years ago

Joonalai commented 2 years ago

This PR:

Unfortunately this required initializing the QGIS inside inside the hook pytest_configure to ensure that the patching happens before running import clauses in the code.