[Erp5-report] r30118 - /erp5/trunk/products/ERP5/tests/testBug.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 29 15:45:25 CET 2009


Author: luke
Date: Thu Oct 29 15:45:25 2009
New Revision: 30118

URL: http://svn.erp5.org?rev=30118&view=rev
Log:
 - not need to play with request

Modified:
    erp5/trunk/products/ERP5/tests/testBug.py

Modified: erp5/trunk/products/ERP5/tests/testBug.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBug.py?rev=30118&r1=30117&r2=30118&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBug.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBug.py [utf8] Thu Oct 29 15:45:25 2009
@@ -524,11 +524,8 @@
     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())




More information about the Erp5-report mailing list