Skip to content

Commit

Permalink
Update test_qgsprojectionselectionwidgets.py
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids committed May 26, 2018
1 parent c5dbf64 commit 5b870df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/src/python/test_qgsprojectionselectionwidgets.py
Expand Up @@ -122,7 +122,8 @@ def testSignal(self):
w.setCrs(QgsCoordinateReferenceSystem('EPSG:3111'))
self.assertEqual(w.crs().authid(), 'EPSG:3111')
self.assertEqual(len(spy), 1)
self.assertEqual(w.crs().authid(), 'EPSG:3111')
# setting the same crs doesn't emit the signal
w.setCrs(QgsCoordinateReferenceSystem('EPSG:3111'))
self.assertEqual(len(spy), 0)

def testTreeWidgetGettersSetters(self):
Expand Down

0 comments on commit 5b870df

Please sign in to comment.