From 8317442c6f6df18545a58e7cc1246c5289f988d8 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Thu, 4 Jun 2020 15:01:52 -0400 Subject: [PATCH 1/2] add url unicode paths test --- test/vanilla/AcceptanceTests/asynctests/test_url.py | 4 ++++ test/vanilla/AcceptanceTests/test_url.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/test/vanilla/AcceptanceTests/asynctests/test_url.py b/test/vanilla/AcceptanceTests/asynctests/test_url.py index 4c3a322b99f..06e7522a6ad 100644 --- a/test/vanilla/AcceptanceTests/asynctests/test_url.py +++ b/test/vanilla/AcceptanceTests/asynctests/test_url.py @@ -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() diff --git a/test/vanilla/AcceptanceTests/test_url.py b/test/vanilla/AcceptanceTests/test_url.py index 743b30ef548..40061d19ae8 100644 --- a/test/vanilla/AcceptanceTests/test_url.py +++ b/test/vanilla/AcceptanceTests/test_url.py @@ -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() From 92514c8ca83d6c0a35abf609743bc9a66d32d061 Mon Sep 17 00:00:00 2001 From: iscai-msft Date: Thu, 4 Jun 2020 15:10:50 -0400 Subject: [PATCH 2/2] add url unicode queries test --- test/vanilla/AcceptanceTests/asynctests/test_url.py | 4 ++++ test/vanilla/AcceptanceTests/test_url.py | 3 +++ 2 files changed, 7 insertions(+) diff --git a/test/vanilla/AcceptanceTests/asynctests/test_url.py b/test/vanilla/AcceptanceTests/asynctests/test_url.py index 06e7522a6ad..63a8302121c 100644 --- a/test/vanilla/AcceptanceTests/asynctests/test_url.py +++ b/test/vanilla/AcceptanceTests/asynctests/test_url.py @@ -215,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([]) diff --git a/test/vanilla/AcceptanceTests/test_url.py b/test/vanilla/AcceptanceTests/test_url.py index 40061d19ae8..696bb00f0d7 100644 --- a/test/vanilla/AcceptanceTests/test_url.py +++ b/test/vanilla/AcceptanceTests/test_url.py @@ -180,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)