Fix the Logs header for case when only log_urls is set

This commit is contained in:
Mikhail f. Shiryaev 2023-04-28 23:51:53 +02:00
parent 886ba0b01d
commit d336bee056
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -370,6 +370,7 @@ def create_test_html_report(
colspan += 1 colspan += 1
if test_result.log_urls is not None: if test_result.log_urls is not None:
has_log_urls = True
test_logs_html = "<br>".join( test_logs_html = "<br>".join(
[_get_html_url(url) for url in test_result.log_urls] [_get_html_url(url) for url in test_result.log_urls]
) )