@@ -167,5 +167,5 @@ def test_which_accounts_required_on(hook, account, required):
for error in errors)
def test_not_required_on_opening(hook):
txn = testutil.Transaction.opening_balance()
txn = testutil.OpeningBalance()
assert not list(hook.run(txn))