From 95933194664fe693f5a1562bb3948165eaa945c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Mon, 8 Jun 2009 15:18:10 +0000
Subject: [PATCH]  - set titles of tests names for documents

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27435 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testBPMCore.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/tests/testBPMCore.py b/product/ERP5/tests/testBPMCore.py
index 04610f3737..e6e05ddb6a 100644
--- a/product/ERP5/tests/testBPMCore.py
+++ b/product/ERP5/tests/testBPMCore.py
@@ -354,7 +354,8 @@ class TestBPMMixin(ERP5TypeTestCase):
 
   def createOrder(self):
     module = self.portal.getDefaultModule(portal_type=self.order_portal_type)
-    return module.newContent(portal_type=self.order_portal_type)
+    return module.newContent(portal_type=self.order_portal_type,
+        title=self.id())
 
   def stepCreateOrder(self, sequence=None, **kw):
     sequence.edit(order = self.createOrder())
@@ -925,7 +926,8 @@ class TestBPMMixin(ERP5TypeTestCase):
     module = self.portal.getDefaultModule(
         portal_type=self.trade_condition_portal_type)
     trade_condition = module.newContent(
-        portal_type=self.trade_condition_portal_type)
+        portal_type=self.trade_condition_portal_type,
+        title=self.id())
     return trade_condition
 
   def stepCreateTradeCondition(self, sequence=None, **kw):
-- 
2.30.9