mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
fix: Sort imports in test file to fix lint errors
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import importlib.util
|
import importlib.util
|
||||||
import sys
|
|
||||||
import pytest
|
import pytest
|
||||||
|
import sys
|
||||||
|
|
||||||
|
|
||||||
def test_httpx_litellm_compatibility():
|
def test_httpx_litellm_compatibility():
|
||||||
@@ -20,8 +20,8 @@ def test_exa_py_compatibility():
|
|||||||
pytest.skip("exa-py not installed")
|
pytest.skip("exa-py not installed")
|
||||||
|
|
||||||
import exa
|
import exa
|
||||||
import litellm
|
|
||||||
import httpx
|
import httpx
|
||||||
|
import litellm
|
||||||
|
|
||||||
assert hasattr(exa, "__version__")
|
assert hasattr(exa, "__version__")
|
||||||
assert hasattr(httpx, "__version__")
|
assert hasattr(httpx, "__version__")
|
||||||
@@ -37,8 +37,8 @@ def test_google_genai_compatibility():
|
|||||||
pytest.skip("google-genai not installed")
|
pytest.skip("google-genai not installed")
|
||||||
|
|
||||||
from google import generativeai
|
from google import generativeai
|
||||||
import litellm
|
|
||||||
import httpx
|
import httpx
|
||||||
|
import litellm
|
||||||
|
|
||||||
assert hasattr(generativeai, "version")
|
assert hasattr(generativeai, "version")
|
||||||
assert hasattr(httpx, "__version__")
|
assert hasattr(httpx, "__version__")
|
||||||
|
|||||||
Reference in New Issue
Block a user