Skip to content

Commit 8d78599

Browse files
committed
fix: remove outdated tests
1 parent 43cc476 commit 8d78599

File tree

1 file changed

+0
-41
lines changed

1 file changed

+0
-41
lines changed

ee/hogai/graph/root/test/test_nodes.py

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -861,47 +861,6 @@ async def test_navigate_tool_call_raises_node_interrupt(self):
861861
self.assertTrue(interrupt_data.visible)
862862
self.assertEqual(interrupt_data.ui_payload, {"navigate": {"page_key": "insights"}})
863863

864-
def test_router_insights_path(self):
865-
"""Test router routes to insights when root_tool_insight_plan is set"""
866-
node = RootNodeTools(self.team, self.user)
867-
868-
state = AssistantState(
869-
messages=[
870-
AssistantMessage(
871-
content="Creating insight",
872-
tool_calls=[
873-
AssistantToolCall(
874-
id="insight-123",
875-
name="create_and_query_insight",
876-
args={"query_kind": "trends", "query_description": "test"},
877-
)
878-
],
879-
)
880-
],
881-
root_tool_call_id="insight-123",
882-
root_tool_insight_plan="test query plan",
883-
)
884-
885-
self.assertEqual(node.router(state), "insights")
886-
887-
def test_billing_tool_routing(self):
888-
"""Test that billing tool calls are routed correctly"""
889-
node = RootNodeTools(self.team, self.user)
890-
891-
# Create state with billing tool call (read_data with kind=billing_info)
892-
state = AssistantState(
893-
messages=[
894-
AssistantMessage(
895-
content="Let me check your billing information",
896-
tool_calls=[AssistantToolCall(id="billing-123", name="read_data", args={"kind": "billing_info"})],
897-
)
898-
],
899-
root_tool_call_id="billing-123",
900-
)
901-
902-
# Should route to billing
903-
self.assertEqual(node.router(state), "billing")
904-
905864
def test_router_insights_search_path(self):
906865
"""Test router routes to insights_search when search_insights_query is set"""
907866
node = RootNodeTools(self.team, self.user)

0 commit comments

Comments
 (0)