This commit is contained in:
Kenneth Kehl
2024-11-18 13:52:20 -08:00
parent 14bfcd3f42
commit d2d5fa71ef
2 changed files with 7 additions and 9 deletions

View File

@@ -320,9 +320,7 @@ def test_dao_get_paginated_inbound_sms_for_service_for_public_api_older_than_ret
)
expected_inbound_sms = reversed_inbound_sms[2:]
print(f"EXPECTED {expected_inbound_sms}")
print(f"ACTUAL {inbound_from_db.items}")
assert expected_inbound_sms == inbound_from_db
assert expected_inbound_sms == inbound_from_db.items
def test_dao_get_paginated_inbound_sms_for_service_for_public_api_older_than_end_returns_empty_list(
@@ -339,8 +337,7 @@ def test_dao_get_paginated_inbound_sms_for_service_for_public_api_older_than_end
inbound_from_db = dao_get_paginated_inbound_sms_for_service_for_public_api(
sample_service.id, older_than=reversed_inbound_sms[1].id, page_size=2
)
print(f"HERE IS INBOUND FROM DB {inbound_from_db.items}")
assert inbound_from_db.has_next is False
assert inbound_from_db.items == []
def test_most_recent_inbound_sms_only_returns_most_recent_for_each_number(