From 7a8047f4785c280a4a2231fb8087eff21c738887 Mon Sep 17 00:00:00 2001
From: Georgios Dagkakis <georgios.dagkakis@nexedi.com>
Date: Thu, 22 Dec 2016 13:20:43 +0100
Subject: [PATCH] testBusinessTemplate: add description with ampersand in test
 portal type role

to check there is no problem during import/export
---
 product/ERP5/tests/testBusinessTemplate.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/product/ERP5/tests/testBusinessTemplate.py b/product/ERP5/tests/testBusinessTemplate.py
index fc3af22a6b..0db023bc26 100644
--- a/product/ERP5/tests/testBusinessTemplate.py
+++ b/product/ERP5/tests/testBusinessTemplate.py
@@ -3071,7 +3071,7 @@ class BusinessTemplateMixin(ERP5TypeTestCase, LogInterceptor):
     object_pt = pt._getOb(object_id)
     object_pt.newContent(portal_type='Role Information',
       title='Geek Role Definition',
-      description='A definition with non ascii chars 茅脿猫',
+      description='A definition with non ascii chars 茅脿猫 & ampersand',
       role_name_list=('geek_role_definition',),
       role_category_list=('group/g1','function/f1'),
       role_base_category_script_id='Base Category Script',
@@ -3100,7 +3100,7 @@ class BusinessTemplateMixin(ERP5TypeTestCase, LogInterceptor):
     role, = pt[object_id].getRoleInformationList()
     self.assertEqual('Geek Role Definition', role.getTitle())
     self.assertEqual(['geek_role_definition'], role.getRoleNameList())
-    self.assertEqual('A definition with non ascii chars 茅脿猫', role.getDescription())
+    self.assertEqual('A definition with non ascii chars 茅脿猫 & ampersand', role.getDescription())
     self.assertEqual(['group/g1','function/f1'], role.getRoleCategoryList())
     self.assertEqual(['group','site'], role.getRoleBaseCategoryList())
     self.assertEqual('Base Category Script', role.getRoleBaseCategoryScriptId())
-- 
2.30.9