From 708d323a3e4a057891b29950e35f14c62f791c7e Mon Sep 17 00:00:00 2001 From: Adrian Likins Date: Wed, 16 Apr 2008 00:07:34 -0400 Subject: add a "echo" to the test module write some unit tests that use the "test.echo" module to test some basic marshall/demarshalling code --- func/minion/modules/test.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'func') diff --git a/func/minion/modules/test.py b/func/minion/modules/test.py index 6f7c5fa..77324c4 100644 --- a/func/minion/modules/test.py +++ b/func/minion/modules/test.py @@ -27,3 +27,9 @@ class Test(func_module.FuncModule): Testing remote exception handling is useful """ raise exceptions.Exception("khhhhhhaaaaaan!!!!!!") + + def echo(self, data): + """ + Returns whatever was passed into it + """ + return data -- cgit