Commit 2a643ec9 authored by Jérome Perrin's avatar Jérome Perrin

fixup! ERP5Catalog: Fix UnicodeDecodeError on non ascii catalog search when...

fixup! ERP5Catalog: Fix UnicodeDecodeError on non ascii catalog search when the inituser name is unicode

variable was not zope_testSearchNonAsciiWithLegacyUserFolderUser
parent a55f5f8e
...@@ -4140,8 +4140,6 @@ VALUES ...@@ -4140,8 +4140,6 @@ VALUES
uf._doAddUser(inituser_str, '', ['Member', 'Assignor'], []) uf._doAddUser(inituser_str, '', ['Member', 'Assignor'], [])
self.loginByUserName(inituser_str) self.loginByUserName(inituser_str)
folder_object_list = [x.getObject().getId() for x in
person_module.searchFolder(title=person_title)]
search_result = person_module.searchFolder(title=person_title) search_result = person_module.searchFolder(title=person_title)
self.assertTrue(len(search_result) > 0) self.assertTrue(len(search_result) > 0)
self.assertEqual('abcdé', search_result[0].getObject().getTitle()) self.assertEqual('abcdé', search_result[0].getObject().getTitle())
......
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