Skip to content

Commit

Permalink
Rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AsafMah committed Nov 21, 2023
1 parent 4d04bd2 commit 7089e80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions azure-kusto-data/tests/test_e2e_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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:
Expand All @@ -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)
Expand Down

0 comments on commit 7089e80

Please sign in to comment.