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 2022/09/13 20:25:04 UTC

[allura] branch master updated: [#8462] minor test fix

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


The following commit(s) were added to refs/heads/master by this push:
     new 143711e43 [#8462] minor test fix
143711e43 is described below

commit 143711e433478d200fb0ea2dccdf0a5a92f637bf
Author: Kenton Taylor <kt...@slashdotmedia.com>
AuthorDate: Tue Sep 13 20:18:22 2022 +0000

    [#8462] minor test fix
---
 ForgeTracker/forgetracker/tests/functional/test_root.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ForgeTracker/forgetracker/tests/functional/test_root.py b/ForgeTracker/forgetracker/tests/functional/test_root.py
index 8faf398de..9121f6085 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -2313,7 +2313,7 @@ class TestFunctionalController(TrackerTestController):
         self.app.get('/p/test/bugs/2/', status=200)  # shouldn't fail
         # ticket counts as moved
         r = self.app.get('/p/test/bugs/1/', status=301)
-        r.follow(status=404)  # and not found 'cause already deleted
+        r.follow(status=301)  # and found 'cause we don't want it to hard 404, but use default logic
 
     @td.with_tool('test', 'Tickets', 'dummy')
     def test_move_ticket_email_notifications(self):