diff --git a/tests/test_reports_accrual.py b/tests/test_reports_accrual.py index bd64fc63c3edcebc09ac89c1dd69fbba944244b2..5493e2cd4d9f255ab4079e5df48da02539c6f294 100644 --- a/tests/test_reports_accrual.py +++ b/tests/test_reports_accrual.py @@ -212,20 +212,6 @@ def test_accrual_postings_consistent_account(acct_name): assert related.account == acct_name assert related.accounts == {acct_name} -@pytest.mark.parametrize('cost', [ - testutil.Cost('1.2', 'USD'), - None, -]) -def test_accrual_postings_consistent_cost(cost): - meta = {'invoice': 'FXinvoice.pdf'} - txn = testutil.Transaction(postings=[ - (ACCOUNTS[0], 60, 'EUR', cost, meta), - (ACCOUNTS[0], 30, 'EUR', cost, meta), - ]) - related = accrual.AccrualPostings(data.Posting.from_txn(txn)) - assert related.cost == cost - assert related.costs == {cost} - @pytest.mark.parametrize('meta_key,acct_name', testutil.combine_values( CONSISTENT_METADATA, ACCOUNTS, @@ -255,20 +241,6 @@ def test_accrual_postings_inconsistent_account(): assert related.account is related.INCONSISTENT assert related.accounts == set(ACCOUNTS) -def test_accrual_postings_inconsistent_cost(): - meta = {'invoice': 'FXinvoice.pdf'} - costs = { - testutil.Cost('1.1', 'USD'), - testutil.Cost('1.2', 'USD'), - } - txn = testutil.Transaction(postings=[ - (ACCOUNTS[0], 10, 'EUR', cost, meta) - for cost in costs - ]) - related = accrual.AccrualPostings(data.Posting.from_txn(txn)) - assert related.cost is related.INCONSISTENT - assert related.costs == costs - @pytest.mark.parametrize('meta_key,acct_name', testutil.combine_values( CONSISTENT_METADATA, ACCOUNTS,