def reset(cls): """ Kill all instances, and forget about previous notifications. """ Log.normal("Resetting StackIDE") StackIDEManager.kill_all() reset_complaints()
def test_complaints_not_repeated(self): utility.complain('complaint', 'waaaah') self.assertEqual(sublime.current_error, 'waaaah') utility.complain('complaint', 'waaaah 2') self.assertEqual(sublime.current_error, 'waaaah') utility.reset_complaints() utility.complain('complaint', 'waaaah 2') self.assertEqual(sublime.current_error, 'waaaah 2')