GispoCoding / pytest-qgis

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

Support QToolBar in iface.addToolBar #23

Closed Joonalai closed 2 years ago

Joonalai commented 2 years ago

This PR:

Fixes #19.

Joonalai commented 2 years ago

The test fail with latest QGIS because of this line (which makes it possible to rearrange layers) https://github.com/GispoCoding/pytest-qgis/blob/main/src/pytest_qgis/pytest_qgis.py#L342

codecov-commenter commented 2 years ago

Codecov Report

Merging #23 (5f751f6) into main (7f17044) will increase coverage by 0.39%. The diff coverage is 77.77%.

@@            Coverage Diff             @@
##             main      #23      +/-   ##
==========================================
+ Coverage   54.09%   54.48%   +0.39%     
==========================================
  Files           7        7              
  Lines         464      468       +4     
==========================================
+ Hits          251      255       +4     
  Misses        213      213              
Flag Coverage Δ
pytest 54.48% <77.77%> (+0.39%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/pytest_qgis/qgis_interface.py 44.00% <77.77%> (+2.33%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 7f17044...5f751f6. Read the comment docs.