diff --git a/backend/bdd/features/steps/pki_acme.py b/backend/bdd/features/steps/pki_acme.py index 39d8db3e8..3156d4a71 100644 --- a/backend/bdd/features/steps/pki_acme.py +++ b/backend/bdd/features/steps/pki_acme.py @@ -371,3 +371,10 @@ def step_impl(context: Context, var_path: str): acme_client = context.acme_client response, validation = challenge.response_and_validation(acme_client.net.key) acme_client.answer_challenge(challenge, response) + + +@then("I poll and finalize the ACME order {var_path}") +def step_impl(context: Context, var_path: str): + order = eval_var(context, var_path, as_json=False) + acme_client = context.acme_client + acme_client.poll_and_finalize(order)