diff MoinMoin/conftest.py @ 4859:6a7395207387

Groups2009: dicts and groups instead of group_manager_init and dict_manager_init are used.
author Dmitrijs Milajevs <dimazest@gmail.com>
date Sat, 18 Jul 2009 17:04:44 +0200
parents fb0cce9e8621
children c030fa388cf5
line wrap: on
line diff
--- a/MoinMoin/conftest.py	Sat Jul 18 16:06:41 2009 +0200
+++ b/MoinMoin/conftest.py	Sat Jul 18 17:04:44 2009 +0200
@@ -31,7 +31,7 @@
 
 from MoinMoin.support.python_compatibility import set
 from MoinMoin.web.request import TestRequest, Client
-from MoinMoin.wsgiapp import Application, init, init_group_manager
+from MoinMoin.wsgiapp import Application, init
 from MoinMoin._tests import maketestwiki, wikiconfig
 
 coverage_modules = set()
@@ -72,7 +72,7 @@
     request = TestRequest()
     request.given_config = given_config
     request = init(request)
-    init_group_manager(request)
+    request.groups = request.cfg.groups(request)
     return request