Skip to content
Permalink
Browse files

Update test_qgsprojectionselectionwidgets.py

  • Loading branch information
3nids committed May 26, 2018
1 parent c5dbf64 commit 5b870dfae0bda701484af88e10dd897bd223ee11
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/src/python/test_qgsprojectionselectionwidgets.py
@@ -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):

0 comments on commit 5b870df

Please sign in to comment.
You can’t perform that action at this time.