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) --- python_openapi_client/tests/codegen/test_editgroup.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'python_openapi_client/tests/codegen/test_editgroup.py') diff --git a/python_openapi_client/tests/codegen/test_editgroup.py b/python_openapi_client/tests/codegen/test_editgroup.py index b8e26289..42d6455e 100644 --- a/python_openapi_client/tests/codegen/test_editgroup.py +++ b/python_openapi_client/tests/codegen/test_editgroup.py @@ -1,23 +1,25 @@ -# 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 import Editgroup # noqa: E501 -from fatcat_openapi_client.rest import ApiException +from fatcat_openapi_client.model.editgroup_annotation import EditgroupAnnotation +from fatcat_openapi_client.model.editgroup_edits import EditgroupEdits +from fatcat_openapi_client.model.editor import Editor +globals()['EditgroupAnnotation'] = EditgroupAnnotation +globals()['EditgroupEdits'] = EditgroupEdits +globals()['Editor'] = Editor +from fatcat_openapi_client.model.editgroup import Editgroup class TestEditgroup(unittest.TestCase): @@ -32,7 +34,7 @@ class TestEditgroup(unittest.TestCase): def testEditgroup(self): """Test Editgroup""" # FIXME: construct object with mandatory attributes with example values - # model = fatcat_openapi_client.models.editgroup.Editgroup() # noqa: E501 + # model = Editgroup() # noqa: E501 pass -- cgit v1.2.3