You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/09/10 17:11:17 UTC
[16/20] git commit: [#6640] Can't post vote counts with ticket update
[#6640] Can't post vote counts with ticket update
Signed-off-by: Tim Van Steenburgh <tv...@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/cj/6540
Commit: 6bfdafddccbb8abb0a1925c2ede6979ff7b18e0a
Parents: c0b098c
Author: Tim Van Steenburgh <tv...@gmail.com>
Authored: Tue Sep 10 13:33:37 2013 +0000
Committer: Tim Van Steenburgh <tv...@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))