From fcacd11f9a892e825c687d5d2df71a0a1842416b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 29 Oct 2009 14:45:25 +0000 Subject: [PATCH] - not need to play with request git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30118 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testBug.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/product/ERP5/tests/testBug.py b/product/ERP5/tests/testBug.py index 16b1ee5362..81147dbb46 100644 --- a/product/ERP5/tests/testBug.py +++ b/product/ERP5/tests/testBug.py @@ -524,11 +524,8 @@ class TestBug(ERP5TypeTestCase): text_content = 'text content' title = 'title' - request = self.portal.REQUEST - - request.set('text_content', text_content) - request.set('title', title) - bug_line = bug.Bug_doBugLineSendFastInputAction(batch_mode=1) + bug_line = bug.Bug_doBugLineSendFastInputAction(batch_mode=1, title=title, + text_content=text_content) self.assertEqual(text_content, bug_line.getTextContent()) self.assertEqual(title, bug_line.getTitle()) -- 2.30.9