    def test_new_task(self):
        '''
        Tests receiving a new task that is neither for a blacklisted
        user or an ignored task.
        '''
        self.bot.handle_new_tasks()
        self.bot.greet_user.assert_called_with(self.user)
        assert self.user['id'] in self.bot.active_users
Tests receiving a new task that is neither for a blacklisted
user or an ignored task.
tests/bot_test.py