From f20cff9158d5b47bb3c2719aa9c7a7d98acc02eb Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 5 Mar 2026 07:56:16 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- .../workflow/test_workflow_draft_variable_service.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/api/tests/unit_tests/services/workflow/test_workflow_draft_variable_service.py b/api/tests/unit_tests/services/workflow/test_workflow_draft_variable_service.py index 4815ff40da..43f89d5d2d 100644 --- a/api/tests/unit_tests/services/workflow/test_workflow_draft_variable_service.py +++ b/api/tests/unit_tests/services/workflow/test_workflow_draft_variable_service.py @@ -487,7 +487,9 @@ class TestModelToInsertionDict: is_default_value in the insertion dict entirely. """ conv_var = WorkflowDraftVariable.new_conversation_variable( - app_id="app-1", name="counter", value=StringSegment(value="0"), + app_id="app-1", + name="counter", + value=StringSegment(value="0"), ) # _new() should explicitly set these fields so they are not None assert conv_var.visible is not None @@ -505,7 +507,9 @@ class TestModelToInsertionDict: """ long_desc = "a" * 500 conv_var = WorkflowDraftVariable.new_conversation_variable( - app_id="app-1", name="counter", value=StringSegment(value="0"), + app_id="app-1", + name="counter", + value=StringSegment(value="0"), description=long_desc, ) d = _model_to_insertion_dict(conv_var)