You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2025/11/04 14:21:01 UTC
(allura) 24/25: [#8586] test updates
This is an automated email from the ASF dual-hosted git repository.
kentontaylor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/allura.git
commit ea48fbf613e9fe493051c41ed6ccf3c55ebb038b
Author: Guillermo Cruz <gu...@slashdotmedia.com>
AuthorDate: Wed Oct 15 19:15:20 2025 +0000
[#8586] test updates
---
ForgeActivity/forgeactivity/tests/functional/test_root.py | 4 ++--
ForgeBlog/forgeblog/tests/functional/test_feeds.py | 3 ++-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/ForgeActivity/forgeactivity/tests/functional/test_root.py b/ForgeActivity/forgeactivity/tests/functional/test_root.py
index 621e7365d..7d5d48325 100644
--- a/ForgeActivity/forgeactivity/tests/functional/test_root.py
+++ b/ForgeActivity/forgeactivity/tests/functional/test_root.py
@@ -339,7 +339,7 @@ def test_feed_atom_project(self, director):
activity = timeline.find('{http://www.w3.org/2005/Atom}entry')
assert (
activity.find('{http://www.w3.org/2005/Atom}published').text ==
- '2013-12-04T21:48:19Z')
+ '2013-12-04T21:48:19.817000Z')
assert (
activity.find('{http://www.w3.org/2005/Atom}title').text ==
'Administrator 1 posted a comment on ticket #34')
@@ -393,7 +393,7 @@ def test_feed_atom_user(self, director):
activity = timeline.find('{http://www.w3.org/2005/Atom}entry')
assert (
activity.find('{http://www.w3.org/2005/Atom}published').text ==
- '2013-12-04T21:48:19Z')
+ '2013-12-04T21:48:19.817000Z')
assert (
activity.find('{http://www.w3.org/2005/Atom}title').text ==
'Administrator 1 posted a comment on ticket #34')
diff --git a/ForgeBlog/forgeblog/tests/functional/test_feeds.py b/ForgeBlog/forgeblog/tests/functional/test_feeds.py
index b65c93e1d..e243d4e6e 100644
--- a/ForgeBlog/forgeblog/tests/functional/test_feeds.py
+++ b/ForgeBlog/forgeblog/tests/functional/test_feeds.py
@@ -66,11 +66,12 @@ def test_feeds(self):
def test_rss_feed_contains_self_link(self):
r = self.app.get('/blog/feed.rss')
+ print(r.text)
# atom namespace included
assert '<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">' in r
# ...and atom:link points to feed url
assert ('<atom:link href="http://localhost/blog/feed.rss" '
- 'rel="self" type="application/rss+xml"></atom:link>' in r)
+ 'rel="self" type="application/rss+xml"/>' in r)
def test_post_feeds(self):
self._post()