def test_success(self):
        """Test successful task if queued"""
        bot = SlackBot(self.token, events=[SUCCESS], channels=self.channels)
        bot.set_handlers()
        task = luigi.Task()
        self.assertEqual(len(bot.event_queue.get(SUCCESS, [])), 0)
        task.trigger_event(luigi.event.Event.SUCCESS, task)
        self.assertEqual(len(bot.event_queue.get(SUCCESS)), 1)