From c332876fc09d3504bc161b21a77795acbd473758 Mon Sep 17 00:00:00 2001 From: Tomas Susanka Date: Fri, 10 Jan 2020 13:25:52 +0000 Subject: [PATCH] tests/ui: fix overall result message --- tests/ui_tests/report.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/ui_tests/report.py b/tests/ui_tests/report.py index a0a0bf374..281cdb52d 100644 --- a/tests/ui_tests/report.py +++ b/tests/ui_tests/report.py @@ -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)