mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 13:38:53 -04:00
fix a test
This commit is contained in:
@@ -671,7 +671,8 @@ def test_fetch_sms_free_allowance_remainder_until_date_with_two_services(
|
|||||||
rate=0.11,
|
rate=0.11,
|
||||||
)
|
)
|
||||||
|
|
||||||
results = fetch_sms_free_allowance_remainder_until_date(datetime(2016, 5, 1)).all()
|
stmt = fetch_sms_free_allowance_remainder_until_date(datetime(2016, 5, 1))
|
||||||
|
results = db.session.execute(stmt).all()
|
||||||
assert len(results) == 2
|
assert len(results) == 2
|
||||||
service_result = [row for row in results if row[0] == service.id]
|
service_result = [row for row in results if row[0] == service.id]
|
||||||
assert service_result[0] == (service.id, 10, 2, 8)
|
assert service_result[0] == (service.id, 10, 2, 8)
|
||||||
|
|||||||
Reference in New Issue
Block a user