def given_i_create_following_account(step): for row in step.hashes: a = Account(row['account_number'], row['balance']) BANK.add_account(a)
def given_i_create_account_group1_with_balance_of_group2(step, acc_nr, balance): account = Account(acc_nr, balance) BANK.add_account(account)