comparison 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
comparison
equal deleted inserted replaced
4858:2c31e088e849 4859:6a7395207387
29 moindir = rootdir.join("..") 29 moindir = rootdir.join("..")
30 sys.path.insert(0, str(moindir)) 30 sys.path.insert(0, str(moindir))
31 31
32 from MoinMoin.support.python_compatibility import set 32 from MoinMoin.support.python_compatibility import set
33 from MoinMoin.web.request import TestRequest, Client 33 from MoinMoin.web.request import TestRequest, Client
34 from MoinMoin.wsgiapp import Application, init, init_group_manager 34 from MoinMoin.wsgiapp import Application, init
35 from MoinMoin._tests import maketestwiki, wikiconfig 35 from MoinMoin._tests import maketestwiki, wikiconfig
36 36
37 coverage_modules = set() 37 coverage_modules = set()
38 38
39 try: 39 try:
70 maketestwiki.run(True) 70 maketestwiki.run(True)
71 static_state[0] = True 71 static_state[0] = True
72 request = TestRequest() 72 request = TestRequest()
73 request.given_config = given_config 73 request.given_config = given_config
74 request = init(request) 74 request = init(request)
75 init_group_manager(request) 75 request.groups = request.cfg.groups(request)
76 return request 76 return request
77 77
78 78
79 # py.test customization starts here 79 # py.test customization starts here
80 80