diff --git a/tests/test_meta_project.py b/tests/test_meta_project.py index 3423fab01fbae75bfd835a6ad4166a58167eb000..9c58b469c0580ac8092bcffd6ae7207af83e1416 100644 --- a/tests/test_meta_project.py +++ b/tests/test_meta_project.py @@ -201,3 +201,13 @@ def test_still_required_on_flagged_txn(hook, src_value): errors = list(hook.run(txn)) assert errors testutil.check_post_meta(txn, None, None) + +@pytest.mark.parametrize('src_value', testutil.FIXME_VALUES) +def test_flagged_fixme_ok(hook, src_value): + txn = testutil.Transaction(flag='!', postings=[ + ('Assets:Cash', -25), + ('Expenses:General', 25, {TEST_KEY: src_value}), + ]) + errors = list(hook.run(txn)) + assert not errors + testutil.check_post_meta(txn, None, {TEST_KEY: src_value})