mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 07:08:31 +00:00
fix: sort imports according to linter rules
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""Tool for handling human input using LangGraph's interrupt mechanism."""
|
||||
|
||||
from typing import Any, Dict
|
||||
import typing
|
||||
|
||||
from pydantic import Field
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
"""Test HumanTool functionality."""
|
||||
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
from unittest.mock import patch
|
||||
|
||||
from crewai.tools import HumanTool
|
||||
|
||||
|
||||
@@ -88,8 +88,6 @@ def test_random_number_tool_schema():
|
||||
|
||||
def test_tool_usage_interrupt_handling():
|
||||
"""Test that tool usage properly propagates LangGraph interrupts."""
|
||||
from unittest.mock import patch, MagicMock
|
||||
|
||||
class InterruptingTool(BaseTool):
|
||||
name: str = "interrupt_test"
|
||||
description: str = "A tool that raises LangGraph interrupts"
|
||||
|
||||
Reference in New Issue
Block a user