changeset 58:2a1648a53857

pass values via wrap wrapper
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 08 Jun 2011 23:47:52 -0700
parents cb1898f8c72a
children 6b48dee5b92b
files tests/objects.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tests/objects.py	Wed Jun 08 23:45:11 2011 -0700
+++ b/tests/objects.py	Wed Jun 08 23:47:52 2011 -0700
@@ -35,8 +35,8 @@
             return values[retval]
         return retval
 
-def wrap(app):
-    return Wrapper(app)
+def wrap(app, **values):
+    return Wrapper(app, **values)
 
 def fib(n):
     """return the nth fibonacci term"""