Skip to content
Permalink
Browse files
fixed unnit test_qgsmaplayercombobox.py
  • Loading branch information
jakimowb authored and nyalldawson committed Jan 7, 2022
1 parent 1f09d4f commit 201c298d57f52406478966a7db260240fc342407
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsmaplayercombobox.py
@@ -278,10 +278,10 @@ def testProject(self):

self.assertEqual(cb.currentLayer(), lA)

m.setProject(projectB)
cb.setProject(projectB)
self.assertEqual(cb.currentLayer(), lB)

m.setProject(projectA)
cb.setProject(projectA)
self.assertEqual(cb.currentLayer(), lA)

QgsProject.instance().clear()

0 comments on commit 201c298

Please sign in to comment.