You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2016/08/01 18:07:55 UTC

[5/5] allura git commit: Update test_forum:testposts test with updated html

Update test_forum:testposts test with updated html


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

Branch: refs/heads/master
Commit: 73ac85df311cd7262f52099f8f5a1473558a496a
Parents: 76e7c77
Author: Rohan Verma <ro...@gmail.com>
Authored: Sat Jul 30 19:28:49 2016 +0530
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Mon Aug 1 14:02:28 2016 -0400

----------------------------------------------------------------------
 ForgeDiscussion/forgediscussion/tests/functional/test_forum.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/73ac85df/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 5b6ef01..99df83b 100644
--- a/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
+++ b/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py
@@ -243,7 +243,7 @@ class TestForumAsync(TestController):
         r = self.app.get(url)
         assert "test1.txt" in r
         assert "test2.txt" in r
-        for link in r.html.findAll('a'):
+        for link in r.html.findAll('a.btn'):
             if 'attachment' in link.get('href', ''):
                 self.app.get(str(link['href']))
                 self.app.post(str(link['href']), params=dict(delete='on'))