def approve_task(self, task_id):
        """ Returns dict of tasks matching the provided filters """
        uri = 'tasks/%s' % task_id

        data = {"approved": True}

        resp, body = self.post(uri, json.dumps(data))
        self.expected_success(200, resp.status)
        body = json.loads(body)
        return rest_client.ResponseBody(resp, body)
Returns dict of tasks matching the provided filters