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_file_entity.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'python_openapi_client/tests/codegen/test_file_entity.py') diff --git a/python_openapi_client/tests/codegen/test_file_entity.py b/python_openapi_client/tests/codegen/test_file_entity.py index beeb3871..61f0f444 100644 --- a/python_openapi_client/tests/codegen/test_file_entity.py +++ b/python_openapi_client/tests/codegen/test_file_entity.py @@ -1,23 +1,23 @@ -# 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.file_entity import FileEntity # noqa: E501 -from fatcat_openapi_client.rest import ApiException +from fatcat_openapi_client.model.file_url import FileUrl +from fatcat_openapi_client.model.release_entity import ReleaseEntity +globals()['FileUrl'] = FileUrl +globals()['ReleaseEntity'] = ReleaseEntity +from fatcat_openapi_client.model.file_entity import FileEntity class TestFileEntity(unittest.TestCase): @@ -32,7 +32,7 @@ class TestFileEntity(unittest.TestCase): def testFileEntity(self): """Test FileEntity""" # FIXME: construct object with mandatory attributes with example values - # model = fatcat_openapi_client.models.file_entity.FileEntity() # noqa: E501 + # model = FileEntity() # noqa: E501 pass -- cgit v1.2.3