Skip to content
Permalink
Browse files

Spelling

  • Loading branch information
nyalldawson committed Jun 18, 2018
1 parent 077eced commit 063b169bd7fa7abcc75ab2b249a5e0154070c42f
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/src/python/test_qgsmessagelog.py
@@ -45,15 +45,15 @@ def testSignals(self):
self.assertEqual(len(local_spy_received), 0)
self.assertEqual(len(app_spy), 1)
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)

local_log.logMessage('test', 'tag', Qgis.Warning, notifyUser=True)
self.assertEqual(len(local_spy), 0)
self.assertEqual(len(local_spy_received), 0)
self.assertEqual(len(app_spy), 2)
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)

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

0 comments on commit 063b169

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