Skip to content

Commit

Permalink
fixed unnit test_qgsmaplayercombobox.py
Browse files Browse the repository at this point in the history
  • Loading branch information
jakimowb authored and nyalldawson committed Jan 7, 2022
1 parent 1f09d4f commit 201c298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsmaplayercombobox.py
Expand Up @@ -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()
Expand Down

0 comments on commit 201c298

Please sign in to comment.