Commit 073135dd authored by Gyanendra Mishra's avatar Gyanendra Mishra Committed by GitHub

fix: replace plan.assert with plan.verify (#202)

Will fail till we merge a breaking change with the above migration. This
PR is on standby.
parent 30bd4a2e
...@@ -20,7 +20,7 @@ def run_synchronous_testnet_verification(plan, params, el_client_contexts, cl_cl ...@@ -20,7 +20,7 @@ def run_synchronous_testnet_verification(plan, params, el_client_contexts, cl_cl
command = get_cmd(params, el_client_contexts, cl_client_contexts, True) command = get_cmd(params, el_client_contexts, cl_client_contexts, True)
exec_result = plan.exec(recipe=ExecRecipe(command=command), service_name=SERVICE_NAME) exec_result = plan.exec(recipe=ExecRecipe(command=command), service_name=SERVICE_NAME)
plan.assert(exec_result["code"], "==", 0) plan.verify(exec_result["code"], "==", 0)
def get_cmd(params, el_client_contexts, cl_client_contexts, add_binary_name): def get_cmd(params, el_client_contexts, cl_client_contexts, add_binary_name):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment