-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Shallow copy group_entities and person_entity when cloning TBS (#…
…294) * fix: Shallow copy group_entities and person_entity when cloning TBS * chore: Lint and changelog * test: Re-add extension tests, which now pass
- Loading branch information
Showing
4 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
- bump: minor | ||
changes: | ||
changed: | ||
- Shallow copy GroupEntities and PopulationEntity when cloning TaxBenefitSystem object | ||
added: | ||
- Two tests related to extensions that were previously removed |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
- name: "Test using an extension" | ||
period: 2017-01 | ||
extensions: | ||
- policyengine_core.extension_template | ||
input: | ||
persons: | ||
parent: {} | ||
child1: {} | ||
household: | ||
parents: [parent] | ||
children: [child1] | ||
output: | ||
local_town_child_allowance: 100 | ||
|
||
- name: "Test using an extension" | ||
period: 2017-01 | ||
extensions: | ||
- policyengine_core.extension_template | ||
input: | ||
persons: | ||
parent: {} | ||
child1: {} | ||
child2: {} | ||
household: | ||
parents: [parent] | ||
children: [child1, child2] | ||
output: | ||
local_town_child_allowance: 200 |