allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [13/18] allura git commit: [#8088] Fixed Test failiures due to new css meta_post class for discussions
Date Wed, 13 Jul 2016 19:30:10 GMT
[#8088] Fixed Test failiures due to new css meta_post class for discussions


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

Branch: refs/heads/master
Commit: 8bbdabf14b5fba38d70d668c7fb2240839eba770
Parents: 3a52e47
Author: Rohan Verma <rohanverma2004@gmail.com>
Authored: Mon Jul 4 01:33:12 2016 +0530
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Wed Jul 13 15:03:30 2016 -0400

----------------------------------------------------------------------
 Allura/allura/templates/widgets/post_widget.html        | 2 +-
 ForgeTracker/forgetracker/tests/functional/test_root.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/8bbdabf1/Allura/allura/templates/widgets/post_widget.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/widgets/post_widget.html b/Allura/allura/templates/widgets/post_widget.html
index 93079a0..ce6be9d 100644
--- a/Allura/allura/templates/widgets/post_widget.html
+++ b/Allura/allura/templates/widgets/post_widget.html
@@ -28,7 +28,7 @@
   + '#' + value.slug %}
 
 <div>
-  <div id="{{value.slug}}" class="discussion-post {%if value.is_meta %}meta_post{% endif
%}">
+  <div id="{{value.slug}}" class="discussion-post{%if value.is_meta %} meta_post{% endif
%}">
     {% if h.has_access(value, 'moderate')() %}
     <div class="info grid-15 spam-present">
       <span class="spam-text">Comment has been marked as spam.&nbsp;</span>

http://git-wip-us.apache.org/repos/asf/allura/blob/8bbdabf1/ForgeTracker/forgetracker/tests/functional/test_root.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/functional/test_root.py b/ForgeTracker/forgetracker/tests/functional/test_root.py
index f8e9d18..1bffbe3 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -1482,7 +1482,7 @@ class TestFunctionalController(TrackerTestController):
                           headers={'Referer': '/bugs/1/'.encode("utf-8")})
         r = self.app.get('/bugs/1/', dict(page=1))
         assert_true(summary + ' --&gt; ' + new_summary in r)
-        assert_true(len(r.html.findAll(attrs={'class': 'discussion-post'})) == 2)
+        assert_true(len(r.html.findAll(attrs={'class': 'discussion-post meta_post'})) ==
1)
 
     def test_discussion_paging(self):
         summary = 'test discussion paging'


Mime
View raw message