mirror of
https://github.com/langgenius/dify.git
synced 2026-05-29 22:01:00 -04:00
fix: align human input ci expectations
This commit is contained in:
@@ -7,6 +7,7 @@ from dify_graph.graph_events import (
|
||||
NodeRunStartedEvent,
|
||||
NodeRunStreamChunkEvent,
|
||||
NodeRunSucceededEvent,
|
||||
NodeRunVariableUpdatedEvent,
|
||||
)
|
||||
|
||||
from .test_mock_config import MockConfigBuilder
|
||||
@@ -44,12 +45,16 @@ def test_loop_with_tool():
|
||||
NodeRunStartedEvent,
|
||||
NodeRunSucceededEvent,
|
||||
NodeRunStartedEvent,
|
||||
NodeRunVariableUpdatedEvent,
|
||||
NodeRunVariableUpdatedEvent,
|
||||
NodeRunSucceededEvent,
|
||||
NodeRunLoopNextEvent,
|
||||
# 2024
|
||||
NodeRunStartedEvent,
|
||||
NodeRunSucceededEvent,
|
||||
NodeRunStartedEvent,
|
||||
NodeRunVariableUpdatedEvent,
|
||||
NodeRunVariableUpdatedEvent,
|
||||
NodeRunSucceededEvent,
|
||||
# LOOP END
|
||||
NodeRunLoopSucceededEvent,
|
||||
|
||||
@@ -305,8 +305,9 @@ class TestRecipients:
|
||||
with pytest.raises(ValidationError):
|
||||
MemberRecipient(type=EmailRecipientType.MEMBER, user_id="user-123")
|
||||
|
||||
with pytest.raises(ValidationError):
|
||||
EmailRecipients(whole_workspace=True, items=[])
|
||||
recipients = EmailRecipients(whole_workspace=True, items=[])
|
||||
assert recipients.include_bound_group is True
|
||||
assert recipients.items == []
|
||||
|
||||
|
||||
class TestHumanInputNodeVariableResolution:
|
||||
|
||||
Reference in New Issue
Block a user