diff --git a/tests/testutil.py b/tests/testutil.py index e90b3e6bb00798cdc0d25b32c63a8c8d53cd0470..f46b1fcadd55f8562039bbdbc9641758f5d028d9 100644 --- a/tests/testutil.py +++ b/tests/testutil.py @@ -40,10 +40,11 @@ FY_MID_DATE = datetime.date(2020, 9, 1) PAST_DATE = datetime.date(2000, 1, 1) TESTS_DIR = Path(__file__).parent -# This function is primarily used as a fixture, but different test files use +# This function is a teardown fixture, but different test files use # it with different scopes. Typical usage looks like: # clean_account_meta = pytest.fixture([options])(testutil.clean_account_meta) def clean_account_meta(): + yield data.Account.load_options_map(bc_options.OPTIONS_DEFAULTS) data.Account._meta_map.clear()