Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
adde9398
Commit
adde9398
authored
Apr 24, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify some comments in tests.
parent
726e8db1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
common/lib/codejail/codejail/tests/test_jailpy.py
+0
-2
common/lib/codejail/codejail/tests/test_safe_exec.py
+2
-0
No files found.
common/lib/codejail/codejail/tests/test_jailpy.py
View file @
adde9398
...
...
@@ -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
...
...
common/lib/codejail/codejail/tests/test_safe_exec.py
View file @
adde9398
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment