mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-23 23:08:14 +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):
|
||||
tests = list(tests)
|
||||
if not tests:
|
||||
i("None!")
|
||||
return
|
||||
@ -75,8 +74,8 @@ def clear_dir():
|
||||
|
||||
|
||||
def index():
|
||||
passed_tests = (REPORTS_PATH / "passed").iterdir()
|
||||
failed_tests = (REPORTS_PATH / "failed").iterdir()
|
||||
passed_tests = list((REPORTS_PATH / "passed").iterdir())
|
||||
failed_tests = list((REPORTS_PATH / "failed").iterdir())
|
||||
|
||||
title = "UI Test report " + datetime.now().strftime("%Y-%m-%d %H:%M:%S")
|
||||
doc = dominate.document(title=title)
|
||||
|
Loading…
Reference in New Issue
Block a user