From 8ea43c6a62db6d42ed0efc8415901613e9363cba Mon Sep 17 00:00:00 2001 From: Diogo Goncalves Date: Wed, 18 Dec 2024 12:38:58 +0000 Subject: [PATCH] fix: fix azure config tests --- libs/core/tests/unit_tests/conftest.py | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/libs/core/tests/unit_tests/conftest.py b/libs/core/tests/unit_tests/conftest.py index 5eeccc8..73ef66e 100644 --- a/libs/core/tests/unit_tests/conftest.py +++ b/libs/core/tests/unit_tests/conftest.py @@ -75,5 +75,10 @@ def _provider_config_name(): def mock_azure_provider(): config = MagicMock() config.id = "mock_azure_provider" - base_url = "mock_url.com" - return MockAzureProvider(config=config, base_url=base_url) + api_key="key" + api_endpoint="http://azureopenai.com" + api_version="2025-01-01-preview" + return MockAzureProvider(config=config, + api_endpoint=api_endpoint, + api_key=api_key, + api_version=api_version)