Author: laukpe
Date: Wed Sep 24 09:23:25 2008
New Revision: 818
Modified:
trunk/proto/remote/python/examplelibrary.py
Log:
python test for deeper failures
Modified: trunk/proto/remote/python/examplelibrary.py
==============================================================================
--- trunk/proto/remote/python/examplelibrary.py (original)
+++ trunk/proto/remote/python/examplelibrary.py Wed Sep 24 09:23:25 2008
@@ -78,6 +78,11 @@
def custom_exception(self):
raise MyException('My message')
+ def failure_deeper(self, rounds=10):
+ if rounds == 1:
+ raise RuntimeError('Finally failing')
+ self.failure_deeper(rounds-1)
+
# Arguments counts
def no_arguments(self):