
26 Feb
2014
26 Feb
'14
4:47 p.m.
This is what the case trys to test if a faked exception can be caught properly by the task thread. So a meaningful description is added to avoid confusing --- tests/test_rest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_rest.py b/tests/test_rest.py index ca96dc0..06ceeaf 100644 --- a/tests/test_rest.py +++ b/tests/test_rest.py @@ -73,7 +73,8 @@ class RestTests(unittest.TestCase): def _except_op(self, cb, opaque): time.sleep(1) - raise Exception("Oops") + raise Exception("Oops, this is an exception handle test." + " You can ignore it safely") cb('success', True) def _intermid_op(self, cb, opaque): -- 1.8.1.4