From c3de127bcaf4c56b8a16a31ff26ff5f8cf001ba4 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 18 Nov 2024 13:04:29 -0800 Subject: [PATCH] try fixing pagination --- tests/app/dao/test_fact_processing_time_dao.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/app/dao/test_fact_processing_time_dao.py b/tests/app/dao/test_fact_processing_time_dao.py index 072f6c252..bc57163ba 100644 --- a/tests/app/dao/test_fact_processing_time_dao.py +++ b/tests/app/dao/test_fact_processing_time_dao.py @@ -21,7 +21,7 @@ def test_insert_update_processing_time(notify_db_session): fact_processing_time_dao.insert_update_processing_time(data) - result = db.session.execute(select(FactProcessingTime)).scalars().all() + result = db.session.execute(select(FactProcessingTime)).all() assert len(result) == 1 assert result[0].local_date == datetime(2021, 2, 22).date() @@ -38,7 +38,7 @@ def test_insert_update_processing_time(notify_db_session): with freeze_time("2021-02-23 13:23:33"): fact_processing_time_dao.insert_update_processing_time(data) - result = db.session.execute(select(FactProcessingTime)).scalars().all() + result = db.session.execute(select(FactProcessingTime)).all() assert len(result) == 1 assert result[0].local_date == datetime(2021, 2, 22).date()