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 4bb6e91 commit c5dbf64
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/python/test_qgsprojectionselectionwidgets.py
Expand Up @@ -122,6 +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')

This comment has been minimized.

Copy link
@nyalldawson

nyalldawson May 26, 2018

Collaborator

Wouldn't this need another setCrs call to be testing anything?

This comment has been minimized.

Copy link
@3nids

3nids May 26, 2018

Author Member

hmmm, that would be safer I guess!

self.assertEqual(len(spy), 0)

def testTreeWidgetGettersSetters(self):
""" basic tests for QgsProjectionSelectionTreeWidget """
Expand Down

0 comments on commit c5dbf64

Please sign in to comment.