Skip to content

Commit

Permalink
Spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jun 18, 2018
1 parent 077eced commit 063b169
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/src/python/test_qgsmessagelog.py
Expand Up @@ -45,15 +45,15 @@ def testSignals(self):
self.assertEqual(len(local_spy_received), 0) self.assertEqual(len(local_spy_received), 0)
self.assertEqual(len(app_spy), 1) self.assertEqual(len(app_spy), 1)
self.assertEqual(app_spy[-1], ['test', 'tag', Qgis.Info]) self.assertEqual(app_spy[-1], ['test', 'tag', Qgis.Info])
# info message, so messageReceived(bool) should not be emited # info message, so messageReceived(bool) should not be emitted
self.assertEqual(len(app_spy_received), 0) self.assertEqual(len(app_spy_received), 0)


local_log.logMessage('test', 'tag', Qgis.Warning, notifyUser=True) local_log.logMessage('test', 'tag', Qgis.Warning, notifyUser=True)
self.assertEqual(len(local_spy), 0) self.assertEqual(len(local_spy), 0)
self.assertEqual(len(local_spy_received), 0) self.assertEqual(len(local_spy_received), 0)
self.assertEqual(len(app_spy), 2) self.assertEqual(len(app_spy), 2)
self.assertEqual(app_spy[-1], ['test', 'tag', Qgis.Warning]) self.assertEqual(app_spy[-1], ['test', 'tag', Qgis.Warning])
# warning message, so messageReceived(bool) should be emited # warning message, so messageReceived(bool) should be emitted
self.assertEqual(len(app_spy_received), 1) self.assertEqual(len(app_spy_received), 1)


local_log.logMessage('test', 'tag', Qgis.Warning, notifyUser=False) local_log.logMessage('test', 'tag', Qgis.Warning, notifyUser=False)
Expand Down

0 comments on commit 063b169

Please sign in to comment.