From 5506bfac8d9b0cecc5f4364eb27fed9ed7cc46a9 Mon Sep 17 00:00:00 2001 From: asteroide Date: Fri, 20 Nov 2015 16:06:40 +0100 Subject: Some aesthetic modifications in logs. Change-Id: Ic6809bf6e9d9aab47adff1d65870c51e2e47fb8b --- moonclient/moonclient/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moonclient/moonclient/tests.py b/moonclient/moonclient/tests.py index ea722955..6484009f 100644 --- a/moonclient/moonclient/tests.py +++ b/moonclient/moonclient/tests.py @@ -93,7 +93,7 @@ class TestsLaunch(Lister): if port: title += ":" + port title += "\n" - self.logfile.write(title) + self.logfile.write(title + "\n") self.log.info(title) data_tmp = list() data_tmp.append("") @@ -141,7 +141,7 @@ class TestsLaunch(Lister): data_tmp.append(group_name) data_tmp.append(test["name"]) compare = self.__compare_results(self.__replace_var_in_str(test["result"]), result_str) - self.logfile.write("----->{} ({})\n\n".format(compare, self.__replace_var_in_str(test["result"]))) + self.logfile.write("\\---->{}: {}\n\n".format(compare, self.__replace_var_in_str(test["result"]))) if error_str: if compare: compare = "\033[33mTrue\033[m" -- cgit 1.2.3-korg