mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 10:28:55 -04:00
try to fix test code
This commit is contained in:
@@ -822,7 +822,7 @@ def test_update_service_permission_creates_a_history_record_with_current_data(
|
|||||||
.filter_by(name="service_name")
|
.filter_by(name="service_name")
|
||||||
.order_by("version")
|
.order_by("version")
|
||||||
)
|
)
|
||||||
history = db.session.execute(stmt).all()
|
history = db.session.execute(stmt).scalars().all()
|
||||||
assert len(history) == 3
|
assert len(history) == 3
|
||||||
assert history[2].version == 3
|
assert history[2].version == 3
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user