validate:launcher: Remove noise about empty known issues in logs

This commit is contained in:
Thibault Saunier 2019-04-04 17:07:58 -03:00 committed by Thibault Saunier
parent 148bb081b8
commit adbbfa1ec1

View file

@ -290,9 +290,12 @@ class Test(Loggable):
f.write(info)
def add_known_issue_information(self):
info = "\n\n**Already known issues**:\n\n``` python\n%s\n```\n\n" % (
json.dumps(self.expected_issues)
)
if self.expected_issues:
info = "\n\n**Already known issues**:\n\n``` python\n%s\n```\n\n" % (
json.dumps(self.expected_issues)
)
else:
info = ""
info += "\n\n**You can mark the issues as 'known' by adding the " \
+ " following lines to the list of known issues**\n" \