@@ -168,6 +168,9 @@ def test_not_required_on_opening(hook):
txn = testutil.Transaction(postings=[
('Liabilities:Payable:Accounts', -15),
('Liabilities:Payable:Vacation', -25),
(next(testutil.OPENING_EQUITY_ACCOUNTS), 40),
])
assert not list(hook.run(txn))
def test_not_required_on_flagged(hook):
check(hook, None, txn_meta={'flag': '!'})