From 8906a1bfb7dc13ac05450f8369cb8b0a74fc1983 Mon Sep 17 00:00:00 2001 From: MarkKoz <1515135+MarkKoz@users.noreply.github.com> Date: Sun, 29 May 2022 11:37:09 -0700 Subject: Fix 415 error response title The update to Falcon v3 changed its capitalisation. --- tests/api/test_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/api/test_eval.py') diff --git a/tests/api/test_eval.py b/tests/api/test_eval.py index bdeee3e..24e673a 100644 --- a/tests/api/test_eval.py +++ b/tests/api/test_eval.py @@ -51,7 +51,7 @@ class TestEvalResource(SnekAPITestCase): self.assertEqual(result.status_code, 415) expected = { - "title": "Unsupported media type", + "title": "415 Unsupported Media Type", "description": "application/xml is an unsupported media type." } -- cgit v1.2.3