🔧 fix(conftest.py): add description field to the FlowCreate object to provide additional information about the flow
This commit is contained in:
parent
780b0d68d8
commit
93d0ba79f1
1 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue