From d8b0dda618848eb6517e94fd1747317cda008f78 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Mon, 25 Jan 2016 15:48:03 +0200 Subject: Allow non-ASCII in scenario, step names Thanks to Heikki Haapala for reporting the problem. --- yarn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'yarn') diff --git a/yarn b/yarn index 0782a8f..f36bbd4 100755 --- a/yarn +++ b/yarn @@ -322,7 +322,7 @@ class YarnRunner(cliapp.Application): started = time.time() self.info(0, 'Running scenario %s' % scenario.name) - self.ts['scenario_name'] = scenario.name + self.ts['scenario_name'] = scenario.name.encode('utf-8') self.ts.flush() self.scenarios_run += 1 @@ -440,7 +440,7 @@ class YarnRunner(cliapp.Application): self.info(1, 'Running step "%s %s"' % (step.what, step.text)) self.ts['current_step'] = step - self.ts['step_name'] = '%s %s' % (step.what, step.text) + self.ts['step_name'] = '%s %s' % (step.what, step.text.encode('utf8')) self.ts.flush() self.steps_run += 1 -- cgit v1.2.1