From be1904c7f9b5559dd4b3dec6e612edd6aec7fd97 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Sun, 21 Mar 2021 19:31:38 +0100 Subject: [PATCH] Simplify result view, we don't need to display malformed path, removal tests --- app/app.py | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/app/app.py b/app/app.py index d3d5570..2e1e9bf 100644 --- a/app/app.py +++ b/app/app.py @@ -9,7 +9,18 @@ import json import os main = Blueprint('main', __name__, url_prefix=SITE_ROOT) - +tests = [ "Package linter", + "Installation", + "Installation in a sub path", + "Installation on the root", + "Installation in private mode", + "Multi-instance installations", + "Upgrade", + "Backup", + "Restore", + "Change URL", + "Port already used", +] def sort_test_results(results): @@ -54,10 +65,6 @@ def appci_branch(branch): app_results = sort_test_results(branch.most_recent_tests_per_app()) - tests = AppCI.tests.copy() - if "Malfurmed path" in tests: - tests.remove("Malformed path") - return render_template("appci_branch.html", tests=tests, branch=branch, app_results=app_results) @@ -73,10 +80,6 @@ def appci_app(app): for r in branch_results: r.level = -1 if r.level in ["?", None] else int(r.level) - tests = AppCI.tests.copy() - if "Malformed path" in tests: - tests.remove("Malformed path") - history_file = "./app/scripts/appListsHistory/per_app/history_%s.json" % app.name if os.path.exists(history_file): history = json.loads(open(history_file).read())