diff options
-rw-r--r-- | func/minion/modules/test.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/func/minion/modules/test.py b/func/minion/modules/test.py index 7c298e2..a5ba98b 100644 --- a/func/minion/modules/test.py +++ b/func/minion/modules/test.py @@ -32,12 +32,21 @@ class Test(func_module.FuncModule): time.sleep(t) return time.time() + def explode(self): """ Testing remote exception handling is useful """ raise exceptions.Exception("khhhhhhaaaaaan!!!!!!") + + def explode_no_string(self): + """ + Testing remote exception handling is useful + """ + raise exceptions.Exception() + + def echo(self, data): """ Returns whatever was passed into it |