Create fixture called create-account-objects for bankaccount


Problem

This is a pair programming exercise which builds upon Pair Exercise #3. Make your changes to bankaccount.py and upload it to Canvas.
Make the following changes to bankaccount.py

Create a fixture called create_account_objects for bankaccount.py that creates object instances of BankAccount, CheckingAccount, and SavingsAccount so that you don't have to run constructors in your test functions.

Change your all your tests, except for test_constructor, to use your fixture instead of running constructors for the test.

Create two new tests test_savings_update_parametrized and

test_checking_withdraw_parametrized that do exactly what test_savings_update and test_checking_withdraw respectively. Parametrize test_savings_update_parametrized and test_checking_withdraw_parametrized with at least 4 input/output combinations each.

Request for Solution File

Ask an Expert for Answer!!
Python Programming: Create fixture called create-account-objects for bankaccount
Reference No:- TGS03256921

Expected delivery within 24 Hours