mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-22 15:38:11 +00:00
tests/ui: fix overall result message
This commit is contained in:
parent
a1a56813fe
commit
c332876fc0
@ -53,7 +53,6 @@ def _write(fixture_test_path, doc, filename):
|
|||||||
|
|
||||||
|
|
||||||
def _report_links(tests):
|
def _report_links(tests):
|
||||||
tests = list(tests)
|
|
||||||
if not tests:
|
if not tests:
|
||||||
i("None!")
|
i("None!")
|
||||||
return
|
return
|
||||||
@ -75,8 +74,8 @@ def clear_dir():
|
|||||||
|
|
||||||
|
|
||||||
def index():
|
def index():
|
||||||
passed_tests = (REPORTS_PATH / "passed").iterdir()
|
passed_tests = list((REPORTS_PATH / "passed").iterdir())
|
||||||
failed_tests = (REPORTS_PATH / "failed").iterdir()
|
failed_tests = list((REPORTS_PATH / "failed").iterdir())
|
||||||
|
|
||||||
title = "UI Test report " + datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
title = "UI Test report " + datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||||
doc = dominate.document(title=title)
|
doc = dominate.document(title=title)
|
||||||
|
Loading…
Reference in New Issue
Block a user