Debugging.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-22 17:06:18 -05:00
parent 9d17d3a9ca
commit b5dac890a2
2 changed files with 18 additions and 18 deletions

View File

@@ -129,7 +129,7 @@ def test_create_service_data_retention_returns_400_when_notification_type_is_inv
assert json_resp["errors"][0]["error"] == "ValidationError"
assert (
json_resp["errors"][0]["message"]
== "notification_type unknown is not one of [sms, email]"
== f"notification_type unknown is not one of [{', '.join([f'<{type(e).__name__}.{e.name}: {e.value}>'for e in (NotificationType.SMS, NotificationType.EMAIL)])}]"
)