Better logic to handle tags with special characters (#6466)

* better logic to handle tag with special characters

* update test cases

* comment out swift test cases

* restore the swift tests
This commit is contained in:
wing328
2017-09-12 11:41:14 +08:00
committed by GitHub
parent 9e0911b376
commit 591149bcb7
16 changed files with 736 additions and 40 deletions

View File

@@ -0,0 +1,44 @@
# 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.apis.another_fake_api import AnotherFakeApi
class TestAnotherFakeApi(unittest.TestCase):
""" AnotherFakeApi unit test stubs """
def setUp(self):
self.api = petstore_api.apis.another_fake_api.AnotherFakeApi()
def tearDown(self):
pass
def test_test_special_tags(self):
"""
Test case for test_special_tags
To test special tags
"""
pass
if __name__ == '__main__':
unittest.main()