@@ -139,8 +139,8 @@ def test_missing_invoice(hook, acct1, acct2):
(acct1, 25),
])
actual = {error.message for error in hook.run(txn)}
assert actual == {"{} missing {}".format(acct1, TEST_KEY)}
def test_not_required_on_opening(hook):
txn = testutil.Transaction.opening_balance()
txn = testutil.OpeningBalance()
assert not list(hook.run(txn))