Skip to content

Commit

Permalink
steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ahangsu committed Apr 26, 2023
1 parent 2ce9a0e commit 99393a3
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion tests/steps/other_v2_steps.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 99393a3

Please sign in to comment.