From a4627fb649bd805e32be677ff63be64af9241144 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 | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/tests/steps/other_v2_steps.py b/tests/steps/other_v2_steps.py index 06f1c3c8..db585af3 100644 --- a/tests/steps/other_v2_steps.py +++ b/tests/steps/other_v2_steps.py @@ -1475,11 +1475,21 @@ 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)