|
a/Allura/allura/tests/functional/test_neighborhood.py |
|
b/Allura/allura/tests/functional/test_neighborhood.py |
|
... |
|
... |
20 |
|
20 |
|
21 |
def setUp(self):
|
21 |
def setUp(self):
|
22 |
# change the override_root config value to change which root controller the test uses
|
22 |
# change the override_root config value to change which root controller the test uses
|
23 |
self._make_app = allura.config.middleware.make_app
|
23 |
self._make_app = allura.config.middleware.make_app
|
24 |
def make_app(global_conf, full_stack=True, **app_conf):
|
24 |
def make_app(global_conf, full_stack=True, **app_conf):
|
25 |
app_conf['override_root'] = 'test_neighborhood_root'
|
25 |
app_conf['override_root'] = 'basetest_neighborhood_root'
|
26 |
return self._make_app(global_conf, full_stack, **app_conf)
|
26 |
return self._make_app(global_conf, full_stack, **app_conf)
|
27 |
allura.config.middleware.make_app = make_app
|
27 |
allura.config.middleware.make_app = make_app
|
28 |
super(TestNeighborhood, self).setUp()
|
28 |
super(TestNeighborhood, self).setUp()
|
29 |
|
29 |
|
30 |
def tearDown(self):
|
30 |
def tearDown(self):
|