Almost all tests are working. Only 3 left to fix.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-26 20:07:23 -05:00
parent b5dac890a2
commit 75cec3a635
11 changed files with 30 additions and 26 deletions

View File

@@ -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):