def test_important(self):
        NagiosLogger.important(sentinel.message)

        self.mock_status.add_important.assert_called_once_with(
            sentinel.message)
        self.assertEqual(NagiosLogger.status, sentinel.with_important)
    def test_important(self):
        NagiosLogger.important(sentinel.message)

        self.mock_status.add_important.assert_called_once_with(
            sentinel.message)
        self.assertEqual(NagiosLogger.status, sentinel.with_important)
 def run():
     NagiosLogger.important("important\n")
     for x in xrange(10):
         print()
 def run():
     NagiosLogger.important("important\n")
     for x in xrange(10):
         print()