diff options
author | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2008-04-16 00:07:34 -0400 |
---|---|---|
committer | Adrian Likins <alikins@grimlock.devel.redhat.com> | 2008-04-16 00:07:34 -0400 |
commit | 708d323a3e4a057891b29950e35f14c62f791c7e (patch) | |
tree | 5a25a61eff229c460d2872520a06e5673f93472b /func/minion | |
parent | 8cf7662a1f7710dad36b32a686f00a9d3c9dbf10 (diff) | |
download | func-708d323a3e4a057891b29950e35f14c62f791c7e.tar.gz func-708d323a3e4a057891b29950e35f14c62f791c7e.tar.xz func-708d323a3e4a057891b29950e35f14c62f791c7e.zip |
add a "echo" to the test module
write some unit tests that use the "test.echo" module to test some basic
marshall/demarshalling code
Diffstat (limited to 'func/minion')
-rw-r--r-- | func/minion/modules/test.py | 6 |
1 files changed, 6 insertions, 0 deletions
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 |