    def test_ignored_task(self):
        '''Tests receiving a new task that is ignored by the user.'''
        self.ignored_alerts.get_ignored = Mock(return_value={'title': 'ignored'})
        self.bot.handle_new_tasks()
        assert self.task.comment == 'ignored'
        self.task.set_verifying.assert_called_with()
Tests receiving a new task that is ignored by the user.
tests/bot_test.py