pre commit with poetry

This commit is contained in:
mike cullerton 2022-06-29 15:47:24 -04:00
parent aeb495f262
commit 481b88f2e6
1 changed files with 4 additions and 2 deletions

View File

@ -623,9 +623,11 @@ def test_process_instance_run_user_task_creates_task_event(
)
assert response.json is not None
task_events = db.session.query(TaskEventModel)\
.filter(TaskEventModel.process_instance_id == process_instance_id)\
task_events = (
db.session.query(TaskEventModel)
.filter(TaskEventModel.process_instance_id == process_instance_id)
.all()
)
assert len(task_events) == 1
task_event = task_events[0]
assert task_event.user_id == user.id