From 34decba150d182d3afe51aa4335df695a4208189 Mon Sep 17 00:00:00 2001 From: michals Date: Sun, 15 Dec 2024 15:36:45 +0200 Subject: [PATCH] fix: adapt code to 3.8 --- .../studio/resources/assistant/plans/test_plan_body_creation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unittests/clients/studio/resources/assistant/plans/test_plan_body_creation.py b/tests/unittests/clients/studio/resources/assistant/plans/test_plan_body_creation.py index 5a55354f..43175aca 100644 --- a/tests/unittests/clients/studio/resources/assistant/plans/test_plan_body_creation.py +++ b/tests/unittests/clients/studio/resources/assistant/plans/test_plan_body_creation.py @@ -51,7 +51,7 @@ def code(): result = PlanTestClass()._create_body(code=code) # Assert - assert result == {"code": 'code = lambda: "code"'} + assert result == {"code": 'def code():\n return "code"'} def test_create_body__when_pass_code_and_dict_schemas__should_return_dict_with_schemas():