aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2015-11-22 21:45:40 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2015-11-22 21:45:40 +0000
commit59def38972b78682c18b4f1e59d3f81bb64489d0 (patch)
tree37dfdc0acbf403bd3ac6a7019b56421e5517bf65
parente6cd2b064e1095184debc58d8bc4b7d38f228117 (diff)
parent5506bfac8d9b0cecc5f4364eb27fed9ed7cc46a9 (diff)
Merge "Some aesthetic modifications in logs."
-rw-r--r--moonclient/moonclient/tests.py4
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"