aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Ionite <[email protected]>2023-03-08 22:16:02 -0500
committerGravatar Ionite <[email protected]>2023-03-08 22:16:02 -0500
commit6beebc17807cf061bdde0704bc6fa11dc10fce9a (patch)
tree15d6ba0aeb92b85073d8b43071b0efebe0a21ac7
parentRemove file ignore filter to use -B flag instead (diff)
Add new -B flag to unit tests
-rw-r--r--tests/test_nsjail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_nsjail.py b/tests/test_nsjail.py
index f97b2d7..cad79f3 100644
--- a/tests/test_nsjail.py
+++ b/tests/test_nsjail.py
@@ -389,7 +389,7 @@ class NsJailTests(unittest.TestCase):
for args, expected in cases:
with self.subTest(args=args):
result = self.nsjail.python3(py_args=args)
- idx = result.args.index("-Squ")
+ idx = result.args.index("-BSqu")
self.assertEqual(result.args[idx + 1 :], expected)
self.assertEqual(result.returncode, 0)