mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-27 00:58:13 +00:00
style: Fix import sorting in test_knowledge_utils.py
- Sort and format imports according to ruff linter rules - Fix I001 linting errors Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
"""Test knowledge utils functionality."""
|
"""Test knowledge utils functionality."""
|
||||||
|
|
||||||
from typing import Dict, List, Any
|
from typing import Any, Dict, List
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
@@ -41,8 +41,10 @@ def test_extract_knowledge_context_with_missing_context():
|
|||||||
|
|
||||||
def test_knowledge_effectiveness():
|
def test_knowledge_effectiveness():
|
||||||
"""Test that knowledge is effectively used in agent execution."""
|
"""Test that knowledge is effectively used in agent execution."""
|
||||||
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from unittest.mock import patch, MagicMock
|
|
||||||
from crewai.knowledge.utils.knowledge_utils import extract_knowledge_context
|
from crewai.knowledge.utils.knowledge_utils import extract_knowledge_context
|
||||||
|
|
||||||
# Create mock knowledge snippets
|
# Create mock knowledge snippets
|
||||||
|
|||||||
Reference in New Issue
Block a user