aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-10-03 19:47:53 +0100
committerGravatar Chris Lovering <[email protected]>2024-10-03 22:06:38 +0100
commit30d51d19ed6eb425cbfb85c5dcbebd5e77816732 (patch)
treeaa083054f6c7e2c36042001ddd0dfe78408d9b21
parentUse a shared default const (diff)
Correct spelling in test cases
-rw-r--r--tests/test_integration.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_integration.py b/tests/test_integration.py
index ce01bb8..9ae2da8 100644
--- a/tests/test_integration.py
+++ b/tests/test_integration.py
@@ -85,12 +85,12 @@ class IntegrationTests(unittest.TestCase):
"""Test that passing invalid binary paths result in no code execution."""
with run_gunicorn():
cases = [
- ("/bin/bash", "test files outside of /lang cannot be ran"),
+ ("/bin/bash", "test files outside of /lang cannot be run"),
(
"/lang/../bin/bash",
"test path traversal still stops files outside /lang from running",
),
- ("/foo/bar", "test non-existant files are not ran"),
+ ("/foo/bar", "test non-existant files are not run"),
]
for path, msg in cases:
with self.subTest(msg=msg, path=path):