File diff 4eaba1ebf645 → 9f0c30738db8
tests/test_meta_entity.py
Show inline comments
...
 
@@ -165,3 +165,7 @@ def test_which_accounts_required_on(hook, account, required):
 
        assert errors
 
        assert any(error.message == "{} missing entity".format(account)
 
                   for error in errors)
 

	
 
def test_not_required_on_opening(hook):
 
    txn = testutil.Transaction.opening_balance()
 
    assert not list(hook.run(txn))