From 441b75d6132e3b67af5b2e3d73384718da7c73c8 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Thu, 14 Nov 2024 14:04:51 -0800 Subject: [PATCH] hmmm --- tests/app/test_commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/app/test_commands.py b/tests/app/test_commands.py index d14b86133..67439c04e 100644 --- a/tests/app/test_commands.py +++ b/tests/app/test_commands.py @@ -194,8 +194,8 @@ def test_populate_organization_agreement_details_from_file( org_count = _get_organization_query_count() assert org_count == 1 - stmt = select(Organization) - orgX = db.session.execute(stmt).one() + + orgX = db.session.execute(select(Organization)).scalar_one() print(f"ORG X = {orgX.agreement_signed_on_behalf_of_name}") org = _get_organization_query_one() print(f"ORG A = {org.agreement_signed_on_behalf_of_name}")