From d67b70bdbb3277babd130dd4914f16de8ba8a9b5 Mon Sep 17 00:00:00 2001 From: Ionite Date: Mon, 28 Nov 2022 09:13:43 +0800 Subject: Docstring phrasing update Co-authored-by: Mark <1515135+MarkKoz@users.noreply.github.com> --- tests/api/test_eval.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/api/test_eval.py') diff --git a/tests/api/test_eval.py b/tests/api/test_eval.py index 65cd9a4..c103880 100644 --- a/tests/api/test_eval.py +++ b/tests/api/test_eval.py @@ -41,7 +41,7 @@ class TestEvalResource(SnekAPITestCase): self.assertEqual(expected_json, result.json) def test_files_path(self): - """Normal paths, should work with 200.""" + """Normal paths should work with 200.""" test_paths = [ "file.txt", "./file.jpg", @@ -59,7 +59,7 @@ class TestEvalResource(SnekAPITestCase): self.assertEqual(0, result.json["returncode"]) def test_files_illegal_path_traversal(self): - """Traversal beyond root, should be denied with 400 error.""" + """Traversal beyond root should be denied with 400 error.""" test_paths = [ "../secrets", "../../dir", @@ -78,7 +78,7 @@ class TestEvalResource(SnekAPITestCase): self.assertEqual(expected, result.json) def test_files_illegal_path_absolute(self): - """Absolute file paths, should be denied with 400 error.""" + """Absolute file paths should be denied with 400 error.""" test_paths = [ "/etc/vars/secrets", "/absolute", -- cgit v1.2.3