allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [7/9] git commit: [#5673] ticket:299 Fixed test_mass_edit
Date Thu, 04 Apr 2013 16:38:11 GMT
[#5673] ticket:299 Fixed test_mass_edit


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

Branch: refs/heads/master
Commit: 3ebc8c10b033bc86cbffa8e4876c3c4d3905e4b5
Parents: 6a5dd9f
Author: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Authored: Mon Apr 1 17:23:50 2013 +0300
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Thu Apr 4 08:06:44 2013 +0000

----------------------------------------------------------------------
 .../forgetracker/tests/functional/test_root.py     |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/3ebc8c10/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 d638cf8..fa715a3 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -242,7 +242,8 @@ class TestFunctionalController(TrackerTestController):
             'summary': 'Second Ticket'}).first()
         r = self.app.get('/p/test/bugs/edit/?q=ticket')
         self.app.post('/p/test/bugs/update_tickets', {
-                      'selected': first_ticket._id,
+                      '__search': '',
+                      '__selected': first_ticket._id,
                       '_milestone': '2.0',
                       })
         r = self.app.get('/p/test/bugs/1/')
@@ -250,7 +251,8 @@ class TestFunctionalController(TrackerTestController):
         r = self.app.get('/p/test/bugs/2/')
         assert '<li><strong>Milestone</strong>: 1.0 --&gt; 2.0</li>'
not in r
         self.app.post('/p/test/bugs/update_tickets', {
-                      'selected': '%s,%s' % (
+                      '__search': '',
+                      '__selected': '%s,%s' % (
                           first_ticket._id,
                           second_ticket._id),
                       '_milestone': '1.0',
@@ -261,7 +263,8 @@ class TestFunctionalController(TrackerTestController):
         assert '<li><strong>Milestone</strong>: 2.0 --&gt; 1.0</li>'
not in r
 
         self.app.post('/p/test/bugs/update_tickets', {
-                      'selected': '%s,%s' % (
+                      '__search': '',
+                      '__selected': '%s,%s' % (
                           first_ticket._id,
                           second_ticket._id),
                       'status': 'accepted',


Mime
View raw message