|
a/Allura/allura/controllers/test.py |
|
b/Allura/allura/controllers/test.py |
|
... |
|
... |
48 |
if n.url_prefix.startswith('//'): continue
|
48 |
if n.url_prefix.startswith('//'): continue
|
49 |
n.bind_controller(self)
|
49 |
n.bind_controller(self)
|
50 |
proxy_root = RootController()
|
50 |
proxy_root = RootController()
|
51 |
self.dispatch = DispatchTest()
|
51 |
self.dispatch = DispatchTest()
|
52 |
self.security = SecurityTests()
|
52 |
self.security = SecurityTests()
|
53 |
for attr in ('index', 'browse', 'auth', 'nf', 'error', 'redirect'):
|
53 |
for attr in ('index', 'browse', 'auth', 'nf', 'error'):
|
54 |
setattr(self, attr, getattr(proxy_root, attr))
|
54 |
setattr(self, attr, getattr(proxy_root, attr))
|
55 |
self.gsearch = proxy_root.search
|
55 |
self.gsearch = proxy_root.search
|
56 |
self.rest = RestController()
|
56 |
self.rest = RestController()
|
57 |
super(TestController, self).__init__()
|
57 |
super(TestController, self).__init__()
|
58 |
|
58 |
|