try to fix test code

This commit is contained in:
Kenneth Kehl
2024-10-10 14:14:35 -07:00
parent 58d9b2d63e
commit b385e0863f

View File

@@ -822,7 +822,7 @@ def test_update_service_permission_creates_a_history_record_with_current_data(
.filter_by(name="service_name")
.order_by("version")
)
history = db.session.execute(stmt).all()
history = db.session.execute(stmt).scalars().all()
assert len(history) == 3
assert history[2].version == 3