fix more tests

This commit is contained in:
Kenneth Kehl
2024-10-30 13:25:16 -07:00
parent 03312bfdc4
commit 50a9730f0b
2 changed files with 1 additions and 2 deletions

View File

@@ -142,7 +142,7 @@ def test_update_jobs_archived_flag(notify_db_session, notify_api):
def _get_organization_query_count():
stmt = select(Organization)
stmt = select(func.count()).select_from(Organization)
return db.session.execute(stmt).scalar() or 0