mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 14:39:49 -04:00
Almost all tests are working. Only 3 left to fix.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -31,8 +31,9 @@ def test_fetch_service_data_retention(sample_service):
|
||||
list_of_data_retention = fetch_service_data_retention(sample_service.id)
|
||||
|
||||
assert len(list_of_data_retention) == 2
|
||||
assert list_of_data_retention[0] == email_data_retention
|
||||
assert list_of_data_retention[1] == sms_data_retention
|
||||
data_retentions = [email_data_retention, sms_data_retention]
|
||||
assert list_of_data_retention[0] in data_retentions
|
||||
assert list_of_data_retention[1] in data_retentions
|
||||
|
||||
|
||||
def test_fetch_service_data_retention_only_returns_row_for_service(sample_service):
|
||||
|
||||
Reference in New Issue
Block a user