Skip to content

Commit

Permalink
fix: fix azure config tests
Browse files Browse the repository at this point in the history
  • Loading branch information
diogoncalves committed Dec 18, 2024
1 parent 95c1723 commit 8ea43c6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions libs/core/tests/unit_tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 8ea43c6

Please sign in to comment.