[Python] Make the code look Pythonic (#4352)

This commit is contained in:
Vlad Frolov
2016-12-09 11:26:23 +02:00
committed by wing328
parent c3571b28a5
commit 4d2a13018b
20 changed files with 471 additions and 313 deletions

View File

@@ -0,0 +1,42 @@
# 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.class_model import ClassModel
class TestClassModel(unittest.TestCase):
""" ClassModel unit test stubs """
def setUp(self):
pass
def tearDown(self):
pass
def testClassModel(self):
"""
Test ClassModel
"""
model = petstore_api.models.class_model.ClassModel()
if __name__ == '__main__':
unittest.main()