incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [04/41] git commit: #6100 ticket:431 fixed test
Date Thu, 19 Sep 2013 16:21:36 GMT
#6100 ticket:431 fixed test


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

Branch: refs/heads/db/5822
Commit: e2f3e829255229e35c5240dd6c63cbaec60944eb
Parents: 7e40ba9
Author: Anton Kasyanov <mind1master@gmail.com>
Authored: Wed Sep 11 20:42:51 2013 +0300
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Wed Sep 18 14:40:14 2013 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/tests/functional/test_root.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/e2f3e829/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 afbf8cf..8632e29 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -1769,7 +1769,7 @@ class TestFunctionalController(TrackerTestController):
 
         # remaining tickets in 'bugs' tracker should still be viewable
         self.app.get('/p/test/bugs/2/', status=200)  # shouldn't fail
-        self.app.get('/p/test/bugs/1/', status=404)  # shouldn't fail
+        self.app.get('/p/test/bugs/1/', status=301)  # ticket counts as moved
 
     @td.with_tool('test', 'Tickets', 'dummy')
     def test_move_ticket_email_notifications(self):


Mime
View raw message