From 7089e80073bd8f2e6470e5de31782899ef0a24e6 Mon Sep 17 00:00:00 2001 From: asafmahlev Date: Tue, 21 Nov 2023 13:14:45 +0200 Subject: [PATCH] Rename tests --- azure-kusto-data/tests/test_e2e_data.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/azure-kusto-data/tests/test_e2e_data.py b/azure-kusto-data/tests/test_e2e_data.py index e73f9470..5f9728a9 100644 --- a/azure-kusto-data/tests/test_e2e_data.py +++ b/azure-kusto-data/tests/test_e2e_data.py @@ -110,7 +110,7 @@ def setup_class(cls): cls.ai_engine_cs = get_env("APPLICATION_INSIGHTS_ENGINE_CONNECTION_STRING", optional=True) # Called to set the env variables for the default azure credentials - print(prepare_app_key_auth(optional=True)) + prepare_app_key_auth(optional=True) set_env("AZURE_AUTHORITY_HOST", "login.microsoftonline.com") @@ -364,7 +364,7 @@ def test_no_redirects_fail_in_client(self, code): @pytest.mark.asyncio @pytest.mark.parametrize("code", [301, 302, 307, 308]) - async def test_no_redirects_fail_in_cloud(self, code): + async def test_no_redirects_fail_in_cloud_async(self, code): async with AsyncKustoClient( KustoConnectionStringBuilder.with_azure_token_credential(f"https://statusreturner.azurewebsites.net/{code}/nocloud", self.async_cred) ) as client: @@ -374,7 +374,7 @@ async def test_no_redirects_fail_in_cloud(self, code): @pytest.mark.asyncio @pytest.mark.parametrize("code", [301, 302, 307, 308]) - async def test_no_redirects_fail_in_client(self, code): + async def test_no_redirects_fail_in_client_async(self, code): well_known_kusto_endpoints.add_trusted_hosts([MatchRule("statusreturner.azurewebsites.net", False)], False) async with AsyncKustoClient( KustoConnectionStringBuilder.with_azure_token_credential(f"https://statusreturner.azurewebsites.net/{code}/segment", self.async_cred)