aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGravatar ionite34 <[email protected]>2022-11-28 11:12:56 +0800
committerGravatar ionite34 <[email protected]>2022-11-28 11:12:56 +0800
commit0442a7cec24bff9985fb8cf59b0fb2604544eaa8 (patch)
treef077979c356dafb8278325525109a962bd94c4b3 /tests
parentAdd invalid, absolute, null byte paths to schema (diff)
Add ParsingError handling for invalid base64
Diffstat (limited to 'tests')
-rw-r--r--tests/api/test_eval.py2
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)