Skip to content

Commit

Permalink
fixup! Add test on yaml runner on tbs cache with neutralized variable
Browse files Browse the repository at this point in the history
  • Loading branch information
sandcha committed Jun 8, 2021
1 parent e765ec0 commit 27c7cfc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/core/tools/test_runner/test_yaml_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ def apply_reform(self, path):
def load_extension(self, extension):
pass

def neutralize_variable(self, variable_name):
pass

def entities_by_singular(self):
return {}

Expand Down Expand Up @@ -146,6 +149,7 @@ def test_tax_benefit_systems_with_neutralized_variables():
re_tax_benefit_system = _get_tax_benefit_system(baseline, 'r', ['e'], [])
ren_tax_benefit_system = _get_tax_benefit_system(baseline, 'r', ['e'], ['n'])
n_tax_benefit_system = _get_tax_benefit_system(baseline, [], [], ['n'])

assert re_tax_benefit_system != ren_tax_benefit_system
assert ren_tax_benefit_system != n_tax_benefit_system

Expand Down

0 comments on commit 27c7cfc

Please sign in to comment.