Skip to content

Commit

Permalink
Add unicode test routes (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
iscai-msft authored Jun 4, 2020
1 parent 8be68bd commit b796fca
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/vanilla/AcceptanceTests/asynctests/test_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ async def test_array_csv_in_path(self, client):
async def test_string_url_encoded(self, client):
await client.paths.string_url_encoded()

@pytest.mark.asyncio
async def test_paths_unicode(self, client):
await client.paths.string_unicode()

@pytest.mark.asyncio
async def test_string_url_non_encoded(self, client):
await client.paths.string_url_non_encoded()
Expand Down Expand Up @@ -211,6 +215,10 @@ async def test_queries_enum(self, client):
await client.queries.enum_valid(UriColor.green_color)
await client.queries.enum_null(None)

@pytest.mark.asyncio
async def test_queries_unicode(self, client):
await client.queries.string_unicode()

@pytest.mark.asyncio
async def test_array_string_csv(self, client, test_array_query):
await client.queries.array_string_csv_empty([])
Expand Down
6 changes: 6 additions & 0 deletions test/vanilla/AcceptanceTests/test_url.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ def test_array_csv_in_path(self, client):
def test_string_url_encoded(self, client):
client.paths.string_url_encoded()

def test_paths_unicode(self, client):
client.paths.string_unicode()

def test_string_url_non_encoded(self, client):
client.paths.string_url_non_encoded()

Expand Down Expand Up @@ -177,6 +180,9 @@ def test_queries_enum(self, client):
client.queries.enum_valid(UriColor.green_color)
client.queries.enum_null(None)

def test_queries_unicode(self, client):
client.queries.string_unicode()

def test_array_string_csv(self, client, test_array_query):
client.queries.array_string_csv_empty([])
client.queries.array_string_csv_null(None)
Expand Down

0 comments on commit b796fca

Please sign in to comment.