mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
Poll and finalize
This commit is contained in:
@@ -371,3 +371,10 @@ def step_impl(context: Context, var_path: str):
|
|||||||
acme_client = context.acme_client
|
acme_client = context.acme_client
|
||||||
response, validation = challenge.response_and_validation(acme_client.net.key)
|
response, validation = challenge.response_and_validation(acme_client.net.key)
|
||||||
acme_client.answer_challenge(challenge, response)
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user