From ef79f4d157fc576eeb0f54e01d827f277de35708 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 11 Aug 2022 19:23:40 -0700 Subject: codegen python client using newer generator (v6.0.1) --- .../tests/codegen/test_editgroup_annotation.py | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'python_openapi_client/tests/codegen/test_editgroup_annotation.py') diff --git a/python_openapi_client/tests/codegen/test_editgroup_annotation.py b/python_openapi_client/tests/codegen/test_editgroup_annotation.py index 00657b15..9425c412 100644 --- a/python_openapi_client/tests/codegen/test_editgroup_annotation.py +++ b/python_openapi_client/tests/codegen/test_editgroup_annotation.py @@ -1,23 +1,21 @@ -# coding: utf-8 - """ fatcat Fatcat is a scalable, versioned, API-oriented catalog of bibliographic entities and file metadata. # noqa: E501 - The version of the OpenAPI document: 0.3.1 + The version of the OpenAPI document: 0.5.0 Contact: webservices@archive.org Generated by: https://openapi-generator.tech """ -from __future__ import absolute_import - +import sys import unittest import fatcat_openapi_client -from fatcat_openapi_client.models.editgroup_annotation import EditgroupAnnotation # noqa: E501 -from fatcat_openapi_client.rest import ApiException +from fatcat_openapi_client.model.editor import Editor +globals()['Editor'] = Editor +from fatcat_openapi_client.model.editgroup_annotation import EditgroupAnnotation class TestEditgroupAnnotation(unittest.TestCase): @@ -32,7 +30,7 @@ class TestEditgroupAnnotation(unittest.TestCase): def testEditgroupAnnotation(self): """Test EditgroupAnnotation""" # FIXME: construct object with mandatory attributes with example values - # model = fatcat_openapi_client.models.editgroup_annotation.EditgroupAnnotation() # noqa: E501 + # model = EditgroupAnnotation() # noqa: E501 pass -- cgit v1.2.3