Skip to content

Commit 8ea43c6

Browse files
committed
fix: fix azure config tests
1 parent 95c1723 commit 8ea43c6

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

libs/core/tests/unit_tests/conftest.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,5 +75,10 @@ def _provider_config_name():
7575
def mock_azure_provider():
7676
config = MagicMock()
7777
config.id = "mock_azure_provider"
78-
base_url = "mock_url.com"
79-
return MockAzureProvider(config=config, base_url=base_url)
78+
api_key="key"
79+
api_endpoint="http://azureopenai.com"
80+
api_version="2025-01-01-preview"
81+
return MockAzureProvider(config=config,
82+
api_endpoint=api_endpoint,
83+
api_key=api_key,
84+
api_version=api_version)

0 commit comments

Comments
 (0)