Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mitogen
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
mitogen
Commits
996d8477
Commit
996d8477
authored
Sep 16, 2017
by
David Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some broken tests
parent
e75f1d85
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
tests/call_function_test.py
tests/call_function_test.py
+12
-2
No files found.
tests/call_function_test.py
View file @
996d8477
...
...
@@ -34,7 +34,7 @@ class CallFunctionTest(unittest.TestCase):
cls
.
broker
.
shutdown
()
cls
.
broker
.
join
()
def
test_c
all_c
rashes
(
self
):
def
test_crashes
(
self
):
try
:
self
.
local
.
call
(
function_that_fails
)
assert
0
,
'call didnt fail'
...
...
@@ -63,5 +63,15 @@ class CallFunctionTest(unittest.TestCase):
"in module 'call_function_test'"
)
def
test_
call_
returns_dead
(
self
):
def
test_returns_dead
(
self
):
assert
mitogen
.
core
.
_DEAD
==
self
.
local
.
call
(
func_returns_dead
)
def
test_aborted_on_context_disconnect
(
self
):
assert
0
,
'todo'
def
test_aborted_on_context_hang_deadline
(
self
):
# related: how to treat context after a function call hangs
assert
0
,
'todo'
def
test_aborted_on_local_broker_shutdown
(
self
):
assert
0
,
'todo'
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