🔧 fix(conftest.py): add description field to the FlowCreate object to provide additional information about the flow

This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-11-02 22:20:16 -03:00
commit 93d0ba79f1

View file

@ -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: