incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#6640] Can't post vote counts with ticket update
Date Tue, 10 Sep 2013 13:33:49 GMT
Updated Branches:
  refs/heads/master c0b098cf6 -> 6bfdafddc


[#6640] Can't post vote counts with ticket update

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.com>


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

Branch: refs/heads/master
Commit: 6bfdafddccbb8abb0a1925c2ede6979ff7b18e0a
Parents: c0b098c
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Tue Sep 10 13:33:37 2013 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Sep 10 13:33:37 2013 +0000

----------------------------------------------------------------------
 ForgeTracker/forgetracker/tests/functional/test_rest.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6bfdafdd/ForgeTracker/forgetracker/tests/functional/test_rest.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/functional/test_rest.py b/ForgeTracker/forgetracker/tests/functional/test_rest.py
index f6dd061..750bd0e 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_rest.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_rest.py
@@ -88,7 +88,8 @@ class TestRestUpdateTicket(TestTrackerApiBase):
     def test_update_ticket(self):
         args = dict(self.ticket_args, summary='test update ticket', labels='',
                     assigned_to=self.ticket_args['assigned_to_id'] or '')
-        for bad_key in ('ticket_num', 'assigned_to_id', 'created_date', 'reported_by', 'reported_by_id',
'_id'):
+        for bad_key in ('ticket_num', 'assigned_to_id', 'created_date',
+                'reported_by', 'reported_by_id', '_id', 'votes_up', 'votes_down'):
             del args[bad_key]
         args['private'] = str(args['private'])
         ticket_view = self.api_post('/rest/p/test/bugs/1/save', wrap_args='ticket_form',
**h.encode_keys(args))


Mime
View raw message