incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [1/4] git commit: [#5708] ticket:262 Fixed failing test due to discussion handling when moving the ticket
Date Thu, 31 Jan 2013 21:59:12 GMT
[#5708] ticket:262 Fixed failing test due to discussion handling when moving the ticket


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

Branch: refs/heads/master
Commit: 7cf996a5554ca880da0a9327180ec88a643899e8
Parents: 7e17d22
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Wed Jan 30 11:59:31 2013 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Thu Jan 31 21:58:47 2013 +0000

----------------------------------------------------------------------
 .../forgetracker/tests/unit/test_ticket_model.py   |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/7cf996a5/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py b/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
index 474a870..dc2647e 100644
--- a/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
+++ b/ForgeTracker/forgetracker/tests/unit/test_ticket_model.py
@@ -163,7 +163,7 @@ class TestTicketModel(TrackerTestWithModel):
         assert_equal(post.text, message)
 
         post = Post.query.find(dict(text='test comment')).first()
-        assert_equal(post.thread.discussion.app_config_id, app2.config._id)
+        assert_equal(post.thread.discussion_id, app2.config.discussion_id)
         assert_equal(post.thread.app_config_id, app2.config._id)
         assert_equal(post.app_config_id, app2.config._id)
 


Mime
View raw message