changeset 4528:699fed126481

merged http://ronny.uberhost.de/hg/moin-hacks/
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 01 Feb 2009 23:01:35 +0100
parents 1d06e13ce1ee (current diff) b29674295262 (diff)
children 002c21b10561
files
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/auth/_tests/test_auth.py	Sun Feb 01 22:42:33 2009 +0100
+++ b/MoinMoin/auth/_tests/test_auth.py	Sun Feb 01 23:01:35 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