From e10c5d6dd69938641dea17a2b047457563872e9b Mon Sep 17 00:00:00 2001 From: Arnaud Fontaine <arnaud.fontaine@nexedi.com> Date: Fri, 24 Feb 2012 21:33:45 +0900 Subject: [PATCH] Add missing version in Component document_id for testBusinessTemplate (087ef32b908c9b384f5769fa2375c3202eff2ed5). --- product/ERP5/tests/testBusinessTemplate.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/product/ERP5/tests/testBusinessTemplate.py b/product/ERP5/tests/testBusinessTemplate.py index 0190268515..2d8a9eb653 100644 --- a/product/ERP5/tests/testBusinessTemplate.py +++ b/product/ERP5/tests/testBusinessTemplate.py @@ -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' -- 2.30.9