-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ajout des cas de tests pour les aides de Antony
- Loading branch information
Showing
12 changed files
with
1,055 additions
and
5 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
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 |
---|---|---|
|
@@ -45,4 +45,4 @@ bareme_ressources_par_enfant: | |
value: 7528 | ||
threshold: | ||
2021-06-01: | ||
value: 7 | ||
value: 7 |
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 |
---|---|---|
|
@@ -14,4 +14,4 @@ montants: | |
2021-06-01: 600 | ||
montant_tranche_2: | ||
values: | ||
2021-06-01: 300 | ||
2021-06-01: 300 |
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,129 @@ | ||
- name: Eligibilité à l'aide-bourse-communale - famille avec enfant scolarisé en college | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: true | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
scolarite: college | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_communale: true | ||
|
||
- name: Eligibilité à l'aide-bourse-communale - famille avec enfant scolarisé en lycée | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: true | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
scolarite: lycee | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_communale: true | ||
|
||
- name: No eligibilité à l'aide-bourse-communale - famille avec enfant non scolarisé | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: true | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
scolarite: inconnue | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_communale: false | ||
|
||
- name: No Eligibilité à l'aide-bourse-communale - famille avec enfant scolarisé en college et les conditions de ressources non verifiées | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: false | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
scolarite: college | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_communale: false | ||
|
||
- name: No Eligibilité à l'aide-bourse-communale - famille non résident à Antony avec enfant scolarisé en college | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: true | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
scolarite: college | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: false | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_communale: false |
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,99 @@ | ||
- name: Eligibilité à l'aide-bourse-conservatoire - famille avec enfant moins de 18 ans | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: true | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_conservatoire: true | ||
|
||
- name: No eligibilité à l'aide-bourse-conservatoire - famille avec enfant plus de 18 ans | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: true | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 19 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_conservatoire: false | ||
|
||
- name: No eligibilité à l'aide-bourse-conservatoire - famille avec enfant moins de 18 ans et les conditions de ressources non verifiées | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: false | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_conservatoire: false | ||
|
||
- name: No eligibilité à l'aide-bourse-conservatoire - famille non résident à Antony avec enfant moins de 18 | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1] | ||
antony_eligibilite_ressources: true | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 13 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1] | ||
antony_eligibilite_residence: false | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1] | ||
output: | ||
antony_bourse_conservatoire: false |
109 changes: 109 additions & 0 deletions
109
tests/communes/antony/aide_bourse_famille_nombreuse.yml
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,109 @@ | ||
- name: Eligibilité à l'aide-bourse-famille-nombreuse - famille avec 3 enfant et un enfant moins d'un an | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1, enfant2, enfant3] | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 15 | ||
enfant2: | ||
age: 10 | ||
enfant3: | ||
date_naissance: 2021-04-01 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1, enfant2, enfant3] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1, enfant2, enfant3] | ||
output: | ||
antony_bourse_famille_nombreuse: true | ||
|
||
- name: No eligibilité à l'aide-bourse-famille-nombreuse - famille avec 3 enfant et aucun enfant est moins d'un an | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1, enfant2, enfant3] | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 15 | ||
enfant2: | ||
age: 10 | ||
enfant3: | ||
age: 2 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1, enfant2, enfant3] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1, enfant2, enfant3] | ||
output: | ||
antony_bourse_famille_nombreuse: false | ||
|
||
- name: No eligibilité à l'aide-bourse-famille-nombreuse - famille avec 2 enfant et un enfant moins d'un an | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1, enfant2] | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 15 | ||
enfant2: | ||
date_naissance: 2021-04-01 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1, enfant2] | ||
antony_eligibilite_residence: true | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1, enfant2] | ||
output: | ||
antony_bourse_famille_nombreuse: false | ||
|
||
- name: No eligibilité à l'aide-bourse-famille-nombreuse - famille non résident à Antony avec 3 enfant et un enfant moins d'un an | ||
period: 2021-11 | ||
input: | ||
famille: | ||
parents: [parent1, parent2] | ||
enfants: [enfant1, enfant2, enfant3] | ||
individus: | ||
parent1: | ||
age: 52 | ||
parent2: | ||
age: 50 | ||
enfant1: | ||
age: 15 | ||
enfant2: | ||
age: 10 | ||
enfant3: | ||
date_naissance: 2021-04-01 | ||
menage: | ||
personne_de_reference: parent1 | ||
conjoint: parent2 | ||
enfants: [enfant1, enfant2, enfant3] | ||
antony_eligibilite_residence: false | ||
foyer_fiscal: | ||
declarants: [parent1, parent2] | ||
personnes_a_charge: [enfant1, enfant2, enfant3] | ||
output: | ||
antony_bourse_famille_nombreuse: false |
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,16 @@ | ||
- name: Montant de Aide-depart-sejour-adapte | ||
period: 2021-11 | ||
input: | ||
antony_base_ressources: [4300, 5000, 7528] | ||
output: | ||
antony_aide_depart_sejour_adapte_montant_individuel: [600, 300, 0] | ||
|
||
- name: Aide-depart-sejour-adapte | ||
period: 2021-11 | ||
input: | ||
antony_eligibilite_residence: [true, false, true, true, true] | ||
handicap: [true, true, false, true, true] | ||
antony_eligibilite_ressources: [true, true, true, false, true] | ||
antony_aide_depart_sejour_adapte_montant_individuel: [300, 300, 300, 300, 600] | ||
output: | ||
antony_aide_depart_sejour_adapte: [300, 0, 0, 0, 600] |
Oops, something went wrong.