incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [07/50] git commit: [#4902] ticket:355 Fix tests failing due to changes in create topic url
Date Fri, 24 May 2013 17:04:43 GMT
[#4902] ticket:355 Fix tests failing due to changes in create topic url


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/b37d0e85
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/b37d0e85
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/b37d0e85

Branch: refs/heads/db/6255
Commit: b37d0e855fb3f49e3d343412c1193412636df11e
Parents: 3f04478
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Thu May 16 13:41:43 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Wed May 22 14:56:16 2013 +0000

----------------------------------------------------------------------
 .../forgediscussion/tests/functional/test_forum.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/b37d0e85/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
----------------------------------------------------------------------
diff --git a/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py b/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
index 863f1c7..4fa8921 100644
--- a/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
+++ b/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
@@ -688,7 +688,7 @@ class TestForum(TestController):
     def test_sidebar_menu(self):
         r = self.app.get('/discussion/')
         sidebarmenu = str(r.html.find('div',{'id':'sidebar'}))
-        assert '<a href="/p/test/discussion/create_topic"><b data-icon="+" class="ico
ico-plus"></b> <span>Create Topic</span></a>' in sidebarmenu
+        assert '<a href="/p/test/discussion/create_topic/"><b data-icon="+" class="ico
ico-plus"></b> <span>Create Topic</span></a>' in sidebarmenu
         assert '<a href="/p/test/discussion/new_forum"><b data-icon="q" class="ico
ico-conversation"></b> <span>Add Forum</span></a>' in sidebarmenu
         assert '<h3 class="">Help</h3>' in sidebarmenu
         assert '<a href="/p/test/discussion/markdown_syntax"><span>Formatting
Help</span></a>' in sidebarmenu
@@ -710,7 +710,7 @@ class TestForum(TestController):
     def test_sidebar_menu_anon(self):
         r = self.app.get('/discussion/')
         sidebarmenu = str(r.html.find('div',{'id':'sidebar'}))
-        assert '<a href="/p/test/discussion/create_topic"><b data-icon="+" class="ico
ico-plus"></b> <span>Create Topic</span></a>' in sidebarmenu
+        assert '<a href="/p/test/discussion/create_topic/"><b data-icon="+" class="ico
ico-plus"></b> <span>Create Topic</span></a>' in sidebarmenu
         assert '<a href="/p/test/discussion/new_forum"><b data-icon="q" class="ico
ico-conversation"></b> <span>Add Forum</span></a>' in sidebarmenu
         assert '<h3 class="">Help</h3>' in sidebarmenu
         assert '<a href="/p/test/discussion/markdown_syntax"><span>Formatting
Help</span></a>' in sidebarmenu


Mime
View raw message