remove all() from statement

This commit is contained in:
Kenneth Kehl
2024-10-15 11:34:35 -07:00
parent 6db8fcf2e8
commit b9f1eae7e3

View File

@@ -1297,7 +1297,7 @@ def test_query_organization_sms_usage_for_year_handles_multiple_rates(
) )
stmt = query_organization_sms_usage_for_year(org.id, 2022) stmt = query_organization_sms_usage_for_year(org.id, 2022)
rows = db.session.execute(rows).all() rows = db.session.execute(stmt).all()
result = [row._asdict() for row in rows] result = [row._asdict() for row in rows]
# al lthe free allowance is used on the first day # al lthe free allowance is used on the first day