-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GEN-557] Candidature : préparation à la certification AAH #5481
base: master
Are you sure you want to change the base?
Conversation
cf23844
to
d23e09b
Compare
d23e09b
to
7dc5dea
Compare
🥁 La recette jetable est prête ! 👉 Je veux tester cette PR ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yaay! Un nouveau critère sera bientôt certifié 😀
Cette PR mériterait d’être découpée.
La revue est par conséquent un peu éparpillée et je trouve dommage de retenir des améliorations qui n’ont pas grand chose à voir avec l’AAH le temps de gérer l’intégration de l’AAH.
tests/eligibility/test_iae.py
Outdated
diagnosis = iae_eligibility_with_criteria_factory(criteria_kind=CRITERIA_KIND) | ||
admin_criterion = AdministrativeCriteria.objects.get(kind=CRITERIA_KIND) | ||
diagnosis.administrative_criteria.add(admin_criterion) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On pourra même ajouter ce cas aux nouvelles factories, pour passer une liste de critères ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fait dans le dernier commit. Désolée par avance car plusieurs certifiable=True
se sont glissés dans le commit. J'ai tenté de découper avec des git add -p
mais les changements étaient trop petits. Je sais que ça va te tendre et je comprends. 😬
a923e0c
to
edb21f0
Compare
PR découpée en deux : celle-ci et la #5584 . |
Having `GEIQEligibilityDiagnosisFactory.with_certifiable_criteria` choose randomly from a list of criteria is unpredictable and can cause flaky tests. Better use parametrized tests.
…to api_particulier.certify_criteria
edb21f0
to
3d6dc7c
Compare
Voilà ! J'ai pris en compte tous tes retours @francoisfreitag . Je travaille demain (mercredi) mais n'hésite pas à tout squasher si tu veux MEP jeudi ou vendredi. Je peux aussi passer une tête le soir pour MEP par moi-même. |
🤔 Pourquoi ?
A l’instar du critère BRSA on veut interroger l’API Particuliers pour certifier le critère AAH.
AAH est un critère pour lequel on demande un justificatif de < de 3 mois.
🍰 Comment ?
Règles identiques au critère RSA.
🚨 À vérifier
🏝️ Comment tester ?
En tant que SIAE, réaliser une auto-prescription avec un critère AAH.
💻 Captures d'écran