improve: introduce isort for linting Python imports (#1983)
This commit is contained in:
parent
cca9edc97a
commit
cc9e74123c
413 changed files with 1635 additions and 1906 deletions
|
|
@ -1,12 +1,11 @@
|
|||
import os
|
||||
|
||||
import pytest
|
||||
|
||||
from core.model_runtime.errors.validate import CredentialsValidateFailedError
|
||||
from core.model_runtime.model_providers.openai.openai import OpenAIProvider
|
||||
|
||||
from tests.integration_tests.model_runtime.__mock.openai import setup_openai_mock
|
||||
|
||||
|
||||
@pytest.mark.parametrize('setup_openai_mock', [['chat']], indirect=True)
|
||||
def test_validate_provider_credentials(setup_openai_mock):
|
||||
provider = OpenAIProvider()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue