Skip to content

Commit f36cc40

Browse files
different secret for python tests (#248)
1 parent 62ea290 commit f36cc40

2 files changed

Lines changed: 1 addition & 6 deletions

File tree

.github/workflows/python-merge-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
env:
8282
UV_PYTHON: ${{ matrix.python-version }}
8383
AZURE_OPENAI_CHAT_DEPLOYMENT_NAME: ${{ vars.AZUREAI__DEPLOYMENTNAME }}
84-
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZUREAI__ENDPOINT }}
84+
AZURE_OPENAI_ENDPOINT: ${{ secrets.AZURE_OPENAI_ENDPOINT }}
8585
PACKAGE_NAME: "azure"
8686
defaults:
8787
run:

python/packages/azure/tests/test_azure_chat_client.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,7 @@ def get_story_text() -> str:
647647
async def test_azure_openai_chat_client_response() -> None:
648648
"""Test Azure OpenAI chat completion responses."""
649649
azure_chat_client = AzureChatClient()
650-
651650
assert isinstance(azure_chat_client, ChatClient)
652-
print(f"Using Azure OpenAI endpoint: {azure_chat_client.client._azure_endpoint}") # noqa
653651

654652
messages: list[ChatMessage] = []
655653
messages.append(
@@ -675,7 +673,6 @@ async def test_azure_openai_chat_client_response() -> None:
675673
async def test_azure_openai_chat_client_response_tools() -> None:
676674
"""Test AzureOpenAI chat completion responses."""
677675
azure_chat_client = AzureChatClient()
678-
679676
assert isinstance(azure_chat_client, ChatClient)
680677

681678
messages: list[ChatMessage] = []
@@ -697,7 +694,6 @@ async def test_azure_openai_chat_client_response_tools() -> None:
697694
async def test_azure_openai_chat_client_streaming() -> None:
698695
"""Test Azure OpenAI chat completion responses."""
699696
azure_chat_client = AzureChatClient()
700-
701697
assert isinstance(azure_chat_client, ChatClient)
702698

703699
messages: list[ChatMessage] = []
@@ -730,7 +726,6 @@ async def test_azure_openai_chat_client_streaming() -> None:
730726
async def test_azure_openai_chat_client_streaming_tools() -> None:
731727
"""Test AzureOpenAI chat completion responses."""
732728
azure_chat_client = AzureChatClient()
733-
734729
assert isinstance(azure_chat_client, ChatClient)
735730

736731
messages: list[ChatMessage] = []

0 commit comments

Comments
 (0)