diff --git a/tests/test_meta_paypal_id.py b/tests/test_meta_paypal_id.py index 913ea56a25a617c933763165d0efaf223f3ff84b..05407cb3ba5eaf80d34e90ed99a2b93fa2ca4ddf 100644 --- a/tests/test_meta_paypal_id.py +++ b/tests/test_meta_paypal_id.py @@ -192,3 +192,15 @@ def test_still_required_on_flagged_txn(hook): ('Income:Donations', -1000), ]) assert list(hook.run(txn)) + +@pytest.mark.parametrize('account,src_value', testutil.combine_values( + ACCOUNTS, + testutil.FIXME_VALUES, +)) +def test_flagged_fixme_ok(hook, account, src_value): + txn = testutil.Transaction(flag='!', postings=[ + (account, 200, {TEST_KEY: src_value}), + ('Income:Donations', -200), + ]) + assert not list(hook.run(txn)) + testutil.check_post_meta(txn, {TEST_KEY: src_value}, None)