Skip to content
Permalink
Browse files

Update test_qgsprojectionselectionwidgets.py

  • Loading branch information
3nids committed May 26, 2018
1 parent 4bb6e91 commit c5dbf6435f08bd5f5d597af40973d2873e2ee258
Showing with 2 additions and 0 deletions.
  1. +2 −0 tests/src/python/test_qgsprojectionselectionwidgets.py
@@ -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 """

0 comments on commit c5dbf64

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