From 99393a37d5adccc80d5f65989e1c78645b9c3911 Mon Sep 17 00:00:00 2001 From: Hang Su Date: Wed, 26 Apr 2023 14:55:50 -0400 Subject: [PATCH] steps --- tests/steps/other_v2_steps.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/steps/other_v2_steps.py b/tests/steps/other_v2_steps.py index 06f1c3c8..e7cf6b8f 100644 --- a/tests/steps/other_v2_steps.py +++ b/tests/steps/other_v2_steps.py @@ -1475,11 +1475,23 @@ def simulate_atc_failure(context, group, path, message): assert message in resp.failure_message -@when("I make a new simulate request") +@when("I make a new simulate request.") def make_simulate_request(context): context.simulate_request = SimulateRequest(txn_groups=[]) +@then("I lift log limits on that simulate request.") +def lift_log_limits_in_request(context): + context.simulate_request.lift_log_limits = True + + +@then( + "I attach the simulate request to the transaction group to be simulated." +) +def attach_sim_request_to_txn_group_simulation(context): + pass + + @when("I prepare the transaction without signatures for simulation") def step_impl(context): context.stx = transaction.SignedTransaction(context.txn, None)