Commit 4377e0e9 authored by Jérome Perrin's avatar Jérome Perrin

TaskDistributionTool: support unicode for test suite and project name

parent 2cbcaa11
......@@ -79,6 +79,10 @@ class TaskDistributionTool(BaseTool):
-> (test_result_path, revision) or None if already completed
"""
LOG('createTestResult', 0, (name, revision, test_title, project_title))
if isinstance(test_title, unicode):
test_title = test_title.encode('utf8')
if isinstance(project_title, unicode):
project_title = project_title.encode('utf8')
portal = self.getPortalObject()
if test_title is None:
test_title = name
......
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