Clarify some comments in tests.
This commit is contained in:
@@ -127,8 +127,6 @@ class TestLimits(JailCodeHelpers, unittest.TestCase):
|
||||
self.assertEqual(res.stdout, "Reading google\n")
|
||||
self.assertIn("IOError", res.stderr)
|
||||
|
||||
# TODO: write files
|
||||
# TODO: read network
|
||||
# TODO: fork
|
||||
|
||||
|
||||
|
||||
@@ -65,6 +65,8 @@ class TestSafeExec(SafeExecTests, unittest.TestCase):
|
||||
class TestNotSafeExec(SafeExecTests, unittest.TestCase):
|
||||
"""Run SafeExecTests, with not_safe_exec."""
|
||||
def setUp(self):
|
||||
# If safe_exec is actually an alias to not_safe_exec, then there's no
|
||||
# point running these tests.
|
||||
if safe_exec is not_safe_exec:
|
||||
raise SkipTest
|
||||
|
||||
|
||||
Reference in New Issue
Block a user