aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_nsjail.py
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2024-10-03 19:50:12 +0100
committerGravatar Chris Lovering <[email protected]>2024-10-03 22:06:39 +0100
commitf726695b1a1d99b5c61ea09bd3a364103a08d7bf (patch)
treee413a3b771da56fbb6516d02920c8061612c3d03 /tests/test_nsjail.py
parentCorrect spelling in test cases (diff)
Update all references to /lang to /snekbin
Diffstat (limited to 'tests/test_nsjail.py')
-rw-r--r--tests/test_nsjail.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py
index 2d21ad3..a3f1312 100644
--- a/tests/test_nsjail.py
+++ b/tests/test_nsjail.py
@@ -26,7 +26,7 @@ class NsJailTests(unittest.TestCase):
# Hard-coded because it's non-trivial to parse the mount options.
self.shm_mount_size = 40 * Size.MiB
- self.default_binary_path = "/lang/python/default/bin/python"
+ self.default_binary_path = "/snekbin/python/default/bin/python"
def eval_code(self, code: str):
return self.nsjail.python3(["-c", code])
@@ -84,7 +84,7 @@ class NsJailTests(unittest.TestCase):
for _ in range({max_pids}):
print(subprocess.Popen(
[
- '/lang/python/default/bin/python',
+ '/snekbin/python/default/bin/python',
'-c',
'import time; time.sleep(1)'
],