From 93d0ba79f12f8a1fbd07c1b2b55544a7606f6677 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 2 Nov 2023 22:20:16 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20fix(conftest.py):=20add=20descri?= =?UTF-8?q?ption=20field=20to=20the=20FlowCreate=20object=20to=20provide?= =?UTF-8?q?=20additional=20information=20about=20the=20flow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/conftest.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 6f2dd6d42..ddf30e2a4 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -287,7 +287,10 @@ def flow(client, json_flow: str, active_user): loaded_json = json.loads(json_flow) flow_data = FlowCreate( - name="test_flow", data=loaded_json.get("data"), user_id=active_user.id + name="test_flow", + data=loaded_json.get("data"), + user_id=active_user.id, + description="description", ) flow = Flow(**flow_data.dict()) with session_getter(get_db_service()) as session: