mirror of
https://github.com/langgenius/dify.git
synced 2026-05-04 01:18:05 +08:00
chore(api): reformat code
This commit is contained in:
@ -61,8 +61,8 @@ from services.workflow.workflow_converter import WorkflowConverter
|
||||
from .errors.workflow_service import DraftWorkflowDeletionError, WorkflowInUseError
|
||||
from .human_input_delivery_test_service import (
|
||||
DeliveryTestContext,
|
||||
DeliveryTestError,
|
||||
DeliveryTestEmailRecipient,
|
||||
DeliveryTestError,
|
||||
DeliveryTestUnsupportedError,
|
||||
HumanInputDeliveryTestService,
|
||||
)
|
||||
|
||||
@ -211,6 +211,7 @@ def test_submit_form_by_token_skips_enqueue_for_delivery_test(sample_form_record
|
||||
|
||||
enqueue_spy.assert_not_called()
|
||||
|
||||
|
||||
def test_submit_form_by_token_passes_submission_user_id(sample_form_record, mock_session_factory, mocker):
|
||||
session_factory, _ = mock_session_factory
|
||||
repo = MagicMock(spec=HumanInputFormSubmissionRepository)
|
||||
|
||||
Reference in New Issue
Block a user