From 3eadfb2242b9ff718de575571d743ddbfaad2444 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Fri, 15 Nov 2024 12:59:06 -0800 Subject: [PATCH] fix style --- tests/app/service/test_service_guest_list.py | 5 +++-- tests/app/service/test_suspend_resume_service.py | 8 +++++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/tests/app/service/test_service_guest_list.py b/tests/app/service/test_service_guest_list.py index 7d40f8326..9b30d64b1 100644 --- a/tests/app/service/test_service_guest_list.py +++ b/tests/app/service/test_service_guest_list.py @@ -91,8 +91,9 @@ def test_update_guest_list_replaces_old_guest_list(client, sample_service_guest_ assert response.status_code == 204 guest_list = ( - db.session.execute(select(ServiceGuestList) - .order_by(ServiceGuestList.recipient)) + db.session.execute( + select(ServiceGuestList).order_by(ServiceGuestList.recipient) + ) .scalars() .all() ) diff --git a/tests/app/service/test_suspend_resume_service.py b/tests/app/service/test_suspend_resume_service.py index f8197abcf..ad036b414 100644 --- a/tests/app/service/test_suspend_resume_service.py +++ b/tests/app/service/test_suspend_resume_service.py @@ -79,9 +79,11 @@ def test_service_history_is_created(client, sample_service, action, original_sta ) ServiceHistory = Service.get_history_model() history = ( - db.session.execute(select(ServiceHistory) - .filter_by(id=sample_service.id) - .order_by(ServiceHistory.version.desc())) + db.session.execute( + select(ServiceHistory) + .filter_by(id=sample_service.id) + .order_by(ServiceHistory.version.desc()) + ) .scalars() .first() )