• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqt誰得cocoawindowspythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdombtronvb.netdirectxarduinopreviewerゲームエンジン

allura


Commit MetaInfo

修訂110e32d6271a63374f32abae1873c471ce8d8a89 (tree)
時間2012-07-17 23:09:50
作者Dave Brondsema <dbrondsema@geek...>
CommiterJenny Steele

Log Message

[#4551] don't force show_right_bar to True (True is the default anyway)

Change Summary

差異

--- a/Allura/allura/tests/functional/test_neighborhood.py
+++ b/Allura/allura/tests/functional/test_neighborhood.py
@@ -506,6 +506,7 @@ class TestNeighborhood(TestController):
506506 "mount_point":"wiki",
507507 "options":{
508508 "show_right_bar":false,
509+ "show_left_bar":false,
509510 "show_discussion":false,
510511 "some_url": "http://foo.com/$shortname/"
511512 },
@@ -568,6 +569,8 @@ class TestNeighborhood(TestController):
568569 # check tool options
569570 opts = p.app_config('wiki').options
570571 assert_equal(False, opts.show_discussion)
572+ assert_equal(False, opts.show_left_bar)
573+ assert_equal(False, opts.show_right_bar)
571574 assert_equal("http://foo.com/testtemp/", opts.some_url)
572575 # check that custom groups/perms/users were setup correctly
573576 roles = p.named_roles
--- a/ForgeWiki/forgewiki/wiki_main.py
+++ b/ForgeWiki/forgewiki/wiki_main.py
@@ -182,7 +182,6 @@ class ForgeWikiApp(Application):
182182 def install(self, project):
183183 'Set up any default permissions and roles here'
184184 self.config.options['project_name'] = project.name
185- self.config.options['show_right_bar'] = True
186185 super(ForgeWikiApp, self).install(project)
187186 # Setup permissions
188187 role_admin = M.ProjectRole.by_name('Admin')._id