This is an automated email from the ASF dual-hosted git repository. gcruz pushed a commit to branch gc/8586 in repository https://gitbox.apache.org/repos/asf/allura.git
commit 607793fc40694be1be21c87d06a626af405edaa7 Author: Guillermo Cruz <[email protected]> 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()
