diff options
author | 2022-11-28 11:12:56 +0800 | |
---|---|---|
committer | 2022-11-28 11:12:56 +0800 | |
commit | 0442a7cec24bff9985fb8cf59b0fb2604544eaa8 (patch) | |
tree | f077979c356dafb8278325525109a962bd94c4b3 /tests/api | |
parent | Add invalid, absolute, null byte paths to schema (diff) |
Add ParsingError handling for invalid base64
Diffstat (limited to 'tests/api')
-rw-r--r-- | tests/api/test_eval.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/api/test_eval.py b/tests/api/test_eval.py index 41bdd35..64d7ba6 100644 --- a/tests/api/test_eval.py +++ b/tests/api/test_eval.py @@ -72,7 +72,7 @@ class TestEvalResource(SnekAPITestCase): result = self.simulate_post(self.PATH, json=body) self.assertEqual(result.status_code, 400) expected = { - "title": "Request file path failed validation", + "title": "Request file is invalid", "description": f"File path '{path}' may not traverse beyond root", } self.assertEqual(expected, result.json) |