allura
Revision | 110e32d6271a63374f32abae1873c471ce8d8a89 (tree) |
---|---|
Zeit | 2012-07-17 23:09:50 |
Autor | Dave Brondsema <dbrondsema@geek...> |
Commiter | Jenny Steele |
[#4551] don't force show_right_bar to True (True is the default anyway)
@@ -506,6 +506,7 @@ class TestNeighborhood(TestController): | ||
506 | 506 | "mount_point":"wiki", |
507 | 507 | "options":{ |
508 | 508 | "show_right_bar":false, |
509 | + "show_left_bar":false, | |
509 | 510 | "show_discussion":false, |
510 | 511 | "some_url": "http://foo.com/$shortname/" |
511 | 512 | }, |
@@ -568,6 +569,8 @@ class TestNeighborhood(TestController): | ||
568 | 569 | # check tool options |
569 | 570 | opts = p.app_config('wiki').options |
570 | 571 | assert_equal(False, opts.show_discussion) |
572 | + assert_equal(False, opts.show_left_bar) | |
573 | + assert_equal(False, opts.show_right_bar) | |
571 | 574 | assert_equal("http://foo.com/testtemp/", opts.some_url) |
572 | 575 | # check that custom groups/perms/users were setup correctly |
573 | 576 | roles = p.named_roles |
@@ -182,7 +182,6 @@ class ForgeWikiApp(Application): | ||
182 | 182 | def install(self, project): |
183 | 183 | 'Set up any default permissions and roles here' |
184 | 184 | self.config.options['project_name'] = project.name |
185 | - self.config.options['show_right_bar'] = True | |
186 | 185 | super(ForgeWikiApp, self).install(project) |
187 | 186 | # Setup permissions |
188 | 187 | role_admin = M.ProjectRole.by_name('Admin')._id |