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:
Devin AI
2025-03-04 04:29:25 +00:00
parent daa40ed630
commit 142ae7ed59

View File

@@ -1,6 +1,6 @@
"""Test knowledge utils functionality."""
from typing import Dict, List, Any
from typing import Any, Dict, List
import pytest
@@ -41,8 +41,10 @@ def test_extract_knowledge_context_with_missing_context():
def test_knowledge_effectiveness():
"""Test that knowledge is effectively used in agent execution."""
from unittest.mock import MagicMock, patch
import pytest
from unittest.mock import patch, MagicMock
from crewai.knowledge.utils.knowledge_utils import extract_knowledge_context
# Create mock knowledge snippets