Skip to content

Commit 7a6d57e

Browse files
committed
fixed formatting
1 parent d40ab7f commit 7a6d57e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

pdm.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/unit/llms/providers/test_azure_openai.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,23 @@
11
"""Unit tests for Azure OpenAI provider."""
22

3-
import time
43
import os
4+
import time
55
from unittest.mock import patch
66

77
import httpx
88
import pytest
9-
from ols import constants
109
from azure.core.credentials import AccessToken
1110
from langchain_openai import AzureChatOpenAI
1211
from pydantic import AnyHttpUrl
1312

13+
from ols import constants
1414
from ols.app.models.config import AzureOpenAIConfig, ProviderConfig
1515
from ols.src.llms.providers.azure_openai import (
1616
TOKEN_EXPIRATION_LEEWAY,
1717
AzureOpenAI,
1818
TokenCache,
1919
)
2020

21-
2221
cert_in_certificates_store_path = "tests/unit/extra_certs/sample_cert_1.crt"
2322

2423

@@ -254,7 +253,8 @@ def test_credentials_in_directory_handling(provider_config_credentials_directory
254253

255254

256255
def test_loading_provider_specific_parameters(
257-
provider_config_with_specific_parameters, fake_certifi_store):
256+
provider_config_with_specific_parameters, fake_certifi_store
257+
):
258258
"""Test if provider-specific parameters are loaded too."""
259259
azure_openai = AzureOpenAI(
260260
model="uber-model",

0 commit comments

Comments
 (0)