Cas Perl a6b7f60ac7 Python improved (#5512)
* ignore .vscode

* fixed test case for models requiring mandatory attributes. added deserialize test for enum class

* construct model with mandatory attributes. improve class reflection (e.g. deserialize). disable generated empty model unit test for further FIXME

* rebuilt samples

* FIXME comment

* FIXME comment

* fix deserialization enum test
2017-05-17 21:18:51 +08:00

45 lines
899 B
Python

# coding: utf-8
"""
Swagger 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: \" \\
OpenAPI spec version: 1.0.0
Contact: apiteam@swagger.io
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import petstore_api
from petstore_api.rest import ApiException
from petstore_api.models.cat import Cat
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 required attributes
#model = petstore_api.models.cat.Cat()
pass
if __name__ == '__main__':
unittest.main()