Commit e10c5d6d authored by Arnaud Fontaine's avatar Arnaud Fontaine

Add missing version in Component document_id for testBusinessTemplate...

Add missing version in Component document_id for testBusinessTemplate (087ef32b908c9b384f5769fa2375c3202eff2ed5).
parent 476807dc
No related merge requests found
......@@ -6871,7 +6871,7 @@ class TestDocumentTemplateItem(BusinessTemplateMixin):
component_portal_type = DocumentComponent.portal_type
def stepCreateZodbDocument(self, sequence=None, **kw):
document_id = '%s.%s' % (self.component_module, self.document_title)
document_id = '%s.erp5.%s' % (self.component_module, self.document_title)
self.getPortalObject().portal_components.newContent(
id=document_id,
version='erp5',
......@@ -6913,7 +6913,8 @@ class TestDocumentTemplateItem(BusinessTemplateMixin):
self.assertTrue(os.path.exists(component_bt_tool_path))
component_id = '%s.%s' % (self.component_module, sequence['document_title'])
component_id = '%s.erp5.%s' % (self.component_module,
sequence['document_title'])
base_path = os.path.join(component_bt_tool_path, component_id)
python_source_code_path = base_path + '.py'
......
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