changeset 4240:5dad898baf1f

Fixed tests: run now returns a werkzeug-Response, not a Context anymore
author Florian Krupicka <florian.krupicka@googlemail.com>
date Tue, 22 Jul 2008 20:36:42 +0200
parents db15f98e3228
children c27f6cb0892e
files MoinMoin/auth/_tests/test_auth.py
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/_tests/test_auth.py	Tue Jul 22 20:35:16 2008 +0200
+++ b/MoinMoin/auth/_tests/test_auth.py	Tue Jul 22 20:36:42 2008 +0200
@@ -29,8 +29,9 @@
 
     def run_request(self, **params):
         request = TestRequest(**params)
-        request = wsgiapp.init(request)
-        return wsgiapp.run(request)
+        context = wsgiapp.init(request)
+        wsgiapp.run(context)
+        return context
 
     def testNoAuth(self):
         """ run a simple request, no auth, just check if it succeeds """