def METHOD_NAME(self):
    # create
    apps = ['first', 'second']
    permissions = ['r', 'rw']
    for app, permission in zip(apps, permissions):
        self._create_repo_api_token_obj(app, permission)
    # GET request
    resp = self.client.get(self.url)
    self.assertEqual(200, resp.status_code)
    json_resp = json.loads(resp.content)
    for repo_api_token_json, app, permission in zip(json_resp['repo_api_tokens'][::-1], apps, permissions):
        self.assertEqual(self.repo_id, repo_api_token_json['repo_id'])
        self.assertEqual(app, repo_api_token_json['app_name'])
        self.assertEqual(self.user.username, repo_api_token_json['generated_by'])
        self.assertEqual(permission, repo_api_token_json['permission'])