changeset 4527:b29674295262

fixed normal auth tests
author Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
date Tue, 06 Jan 2009 22:23:37 +0100
parents 910474dded06
children 699fed126481
files MoinMoin/auth/_tests/test_auth.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/_tests/test_auth.py	Sat Jan 24 03:13:41 2009 +0100
+++ b/MoinMoin/auth/_tests/test_auth.py	Tue Jan 06 22:23:37 2009 +0100
@@ -6,7 +6,6 @@
     @license: GNU GPL, see COPYING for details.
 """
 import py.test
-py.test.skip("broken due to test Config refactoring, fix later")
 
 from MoinMoin.web.request import TestRequest, evaluate_request
 from MoinMoin import wsgiapp
@@ -30,6 +29,8 @@
 
     def run_request(self, **params):
         request = TestRequest(**params)
+        #XXX: config passing hack
+        request.given_config = getattr(self, 'Config', wikiconfig.Config)
         context = wsgiapp.init(request)
         wsgiapp.run(context)
         return context