summaryrefslogtreecommitdiffstats
path: root/func
diff options
context:
space:
mode:
authorAdrian Likins <alikins@grimlock.devel.redhat.com>2008-04-16 00:07:34 -0400
committerAdrian Likins <alikins@grimlock.devel.redhat.com>2008-04-16 00:07:34 -0400
commit708d323a3e4a057891b29950e35f14c62f791c7e (patch)
tree5a25a61eff229c460d2872520a06e5673f93472b /func
parent8cf7662a1f7710dad36b32a686f00a9d3c9dbf10 (diff)
downloadthird_party-func-708d323a3e4a057891b29950e35f14c62f791c7e.tar.gz
third_party-func-708d323a3e4a057891b29950e35f14c62f791c7e.tar.xz
third_party-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')
-rw-r--r--func/minion/modules/test.py6
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