From 53dd23f3f1ea40c3d5bff4a76a35c16cc8473431 Mon Sep 17 00:00:00 2001 From: Mohammad Torkashvand <mohammad.torkashvand@geant.org> Date: Wed, 4 Oct 2023 13:42:36 +0200 Subject: [PATCH] add a fake form to make confirmation work --- gso/services/provisioning_proxy.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gso/services/provisioning_proxy.py b/gso/services/provisioning_proxy.py index f3e18eb8..d3be739f 100644 --- a/gso/services/provisioning_proxy.py +++ b/gso/services/provisioning_proxy.py @@ -288,6 +288,12 @@ def _confirm_pp_results(state: State) -> FormGenerator: # FIXME: dirty hack that makes the skipping """work""" return {"pp_did_succeed": True} + class ContinueForm(FormPage): + class Config: + title = "Continue to see the result?" + + yield ContinueForm + successful_run = state["pp_run_results"]["return_code"] == 0 class ConfirmRunPage(FormPage): -- GitLab