Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn authored and github-actions[bot] committed Feb 13, 2022
1 parent fdf2245 commit 5d9144c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/src/python/test_qgscheckablecombobox.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ def test_ChangedSignals(self):

self.assertEqual(len(checkedItemsChanged_spy), 1)

def test_readonly(self):
w = qgis.gui.QgsCheckableComboBox()
w.setEditable(False)
w.show() # Should not crash


if __name__ == '__main__':
unittest.main()

0 comments on commit 5d9144c

Please sign in to comment.