mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-05 17:38:25 -04:00
Fixing tests, fixing tests...
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
@@ -120,7 +120,7 @@ def test_get_all_templates_for_invalid_type_returns_400(client, sample_service):
|
||||
"status_code": 400,
|
||||
"errors": [
|
||||
{
|
||||
"message": "type coconut is not one of [sms, email, letter]",
|
||||
"message": f"type coconut is not one of [{', '.join([f'<{type(e).__name__}.{e.name}: {e.value}>'for e in TemplateType])}]",
|
||||
"error": "ValidationError",
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user