From fcfb2be37451d1f9d87a3473267901d0dacf28ce Mon Sep 17 00:00:00 2001 From: c82jdur Date: Fri, 15 Nov 2024 14:13:21 +0100 Subject: [PATCH 1/2] =?UTF-8?q?Ajout=20test=20basique=20=C3=A2ge,=20n'a=20?= =?UTF-8?q?pas=20vocation=20=C3=A0=20rester?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/formulas/paje/age.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tests/formulas/paje/age.yaml diff --git a/tests/formulas/paje/age.yaml b/tests/formulas/paje/age.yaml new file mode 100644 index 0000000000..0ef61f09b6 --- /dev/null +++ b/tests/formulas/paje/age.yaml @@ -0,0 +1,25 @@ +- name: On teste le calcul de l'âge + period: 2024-11 + relative_error_margin: 0.01 + input: + individus: + parent1: + date_naissance: + eternity: 2000-10-15 + parent2: + date_naissance: + eternity: 1990-10-15 + parent3: + date_naissance: + eternity: 1980-10-15 + output: + individus: + parent1: + age: + 2024-11: 24 + parent2: + age: + 2024-11: 34 + parent3: + age: + 2024-11: 44 From 52612907bae79cd13e1a1701e6302d5c890c69a2 Mon Sep 17 00:00:00 2001 From: Johan Durand Date: Fri, 15 Nov 2024 15:59:29 +0100 Subject: [PATCH 2/2] =?UTF-8?q?on=20fixe=20openfisca-core=20=C3=A0=2041.5.?= =?UTF-8?q?3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d1654ed19f..4bf755390a 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ }, include_package_data = True, # Will read MANIFEST.in install_requires = [ - 'OpenFisca-Core >=40.0.1, <42', + 'OpenFisca-Core >=41.5.3, <41.5.4', ], packages = find_namespace_packages(exclude = [ 'openfisca_france.tests*',