diff options
author | asteroide <thomas.duval@orange.com> | 2015-11-20 16:06:40 +0100 |
---|---|---|
committer | asteroide <thomas.duval@orange.com> | 2015-11-20 16:06:40 +0100 |
commit | 5506bfac8d9b0cecc5f4364eb27fed9ed7cc46a9 (patch) | |
tree | 98f8f4b01c3c0d7fa9924d1d453f8d84e6a05458 | |
parent | b4e1e3ac15988512e96200c4528f5423586a4132 (diff) |
Some aesthetic modifications in logs.
Change-Id: Ic6809bf6e9d9aab47adff1d65870c51e2e47fb8b
-rw-r--r-- | moonclient/moonclient/tests.py | 4 |
1 files 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" |