Skip to content

Commit

Permalink
Merge pull request #214 from openfisca/fix-test-aide-mobilite
Browse files Browse the repository at this point in the history
Fix tests aide mobilite
  • Loading branch information
jenovateurs authored Sep 20, 2024
2 parents f2c6a90 + 0db53d7 commit 82e089a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,27 +42,36 @@ montant_en_fonction_du_quotient_familial_permis_am:
value: 100
- threshold:
2018-01-01:
value: 800
value: 801
2022-01-01:
value: 600
value: 601
amount:
2018-01-01:
value: 150
value: 0
2022-01-01:
value: 100

value: 0
montant_en_fonction_du_quotient_familial_permis_b:
description: Montant obtenu pour l'aide au permis B de conduire.
metadata:
type: single_amount
brackets:
- threshold:
2018-01-01:
value: 800
value: 0
2022-01-01:
value: 600
value: 0
amount:
2018-01-01:
value: 750
2022-01-01:
value: 500
- threshold:
2018-01-01:
value: 801
2022-01-01:
value: 601
amount:
2018-01-01:
value: 0
2022-01-01:
value: 0
8 changes: 4 additions & 4 deletions tests/departements/loire_atlantique/aide_mobilite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
nbptr:
2018: [ 1, 1, 1, 1 ]
output:
loire_atlantique_aide_mobilite_permis_am: [150, 150, 0, 0]
loire_atlantique_aide_mobilite_permis_b: [750, 750, 0, 0]
loire_atlantique_aide_mobilite_permis_am: [150, 0, 0, 0]
loire_atlantique_aide_mobilite_permis_b: [750, 0, 0, 0]

- period: 2024-01
input:
Expand All @@ -19,5 +19,5 @@
nbptr:
2022: [ 4, 1, 1, 1 ]
output:
loire_atlantique_aide_mobilite_permis_am: [100, 100, 0, 0]
loire_atlantique_aide_mobilite_permis_b: [500, 500, 0, 0]
loire_atlantique_aide_mobilite_permis_am: [100, 0, 0, 0]
loire_atlantique_aide_mobilite_permis_b: [500, 0, 0, 0]

0 comments on commit 82e089a

Please sign in to comment.