Commit 95933194 authored by Łukasz Nowak's avatar Łukasz Nowak

- set titles of tests names for documents


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27435 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a8efbca3
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment