Skip to content

Commit

Permalink
add tests for puf and tmd files
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed May 28, 2024
1 parent 1c4cbef commit 62e735e
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions taxbrain/tests/test_brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,24 @@ def test_baseline_policy():
tb.run()


@pytest.mark.requires_pufcsv
def test_baseline_policy_PUF():
base = {"II_em": {2019: 0}}
reform = {"II_em": {2025: 2000}}

tb = TaxBrain(2018, 2019, microdata="PUF", reform=reform, base_policy=base)
tb.run()


@pytest.mark.requires_tmdcsv
def test_baseline_policy_TMD():
base = {"II_em": {2019: 0}}
reform = {"II_em": {2025: 2000}}

tb = TaxBrain(2018, 2019, microdata="TMD", reform=reform, base_policy=base)
tb.run()


def test_run_corporate_distribution():
"""
Tests the taxbrain.run method with the distribution of corporate
Expand Down

0 comments on commit 62e735e

Please sign in to comment.