aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/testplugins/callables2/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'mediagoblin/tests/testplugins/callables2/__init__.py')
-rw-r--r--mediagoblin/tests/testplugins/callables2/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/mediagoblin/tests/testplugins/callables2/__init__.py b/mediagoblin/tests/testplugins/callables2/__init__.py
index aaab5b21..9d5cf950 100644
--- a/mediagoblin/tests/testplugins/callables2/__init__.py
+++ b/mediagoblin/tests/testplugins/callables2/__init__.py
@@ -29,10 +29,13 @@ def multi_handle_with_canthandle(call_log):
call_log.append("Hi, I'm the second")
return "the second returns"
+def expand_tuple(this_tuple):
+ return this_tuple + (2,)
hooks = {
'setup': setup_plugin,
'just_one': just_one,
'multi_handle': multi_handle,
'multi_handle_with_canthandle': multi_handle_with_canthandle,
+ 'expand_tuple': expand_tuple,
}