forked from loafle/openapi-generator-original
* update python test folders * update python template * update python samples * fix python comment too long * update ruby test case
40 lines
870 B
Python
40 lines
870 B
Python
# coding: utf-8
|
|
|
|
"""
|
|
OpenAPI Petstore
|
|
|
|
This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\ # noqa: E501
|
|
|
|
OpenAPI spec version: 1.0.0
|
|
Generated by: https://openapi-generator.tech
|
|
"""
|
|
|
|
|
|
from __future__ import absolute_import
|
|
|
|
import unittest
|
|
|
|
import petstore_api
|
|
from petstore_api.models.cat import Cat # noqa: E501
|
|
from petstore_api.rest import ApiException
|
|
|
|
|
|
class TestCat(unittest.TestCase):
|
|
"""Cat unit test stubs"""
|
|
|
|
def setUp(self):
|
|
pass
|
|
|
|
def tearDown(self):
|
|
pass
|
|
|
|
def testCat(self):
|
|
"""Test Cat"""
|
|
# FIXME: construct object with mandatory attributes with example values
|
|
# model = petstore_api.models.cat.Cat() # noqa: E501
|
|
pass
|
|
|
|
|
|
if __name__ == '__main__':
|
|
unittest.main()
|