diff options
| -rw-r--r-- | snekbox/api/snekapi.py | 2 | ||||
| -rw-r--r-- | tests/api/test_eval.py | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/snekbox/api/snekapi.py b/snekbox/api/snekapi.py index c9c2015..a1804e6 100644 --- a/snekbox/api/snekapi.py +++ b/snekbox/api/snekapi.py @@ -15,7 +15,7 @@ class SnekAPI(falcon.App):      Error response format:      >>> { -    ...     "title": "Unsupported media type", +    ...     "title": "415 Unsupported Media Type",      ...     "description": "application/xml is an unsupported media type."      ... }      """ 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."          } | 
