Repository navigation
test(#14,#24): couverture 100 % des sorties victorialogs et http - #123
Merged
Merged
Conversation
Contributor
|
Mise à jour automatique impossible : conflit avec |
This was referenced Nov 4, 2026
This was referenced Nov 4, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #14
Refs #24
Résumé
L'audit du 04/11 a montré que le critère « couverture 100 % sur le nouveau code » n'était pas tenu pour deux sorties.
outputs/victorialogs.pyétait à 94 % :modedans__init__ne pouvait jamais s'exécuter, car le schéma commun refuse déjà toute valeur hors deMODES. Je l'ai retiré, avec un commentaire ;_liste_virgulesest désormais testée directement, y compris le cas d'un type refusé.outputs/http_generique.pyétait à 97 % : j'ai ajouté les tests de santé quand le récepteur répond 5xx (l'erreur est levée) et 4xx (il reste joignable).match=des tests victorialogs passent en chaînes brutes, ce qui supprime unSyntaxWarningqui existait déjà.Testé
uv run pytest -q --cov: 2119 réussis, 106 ignorés ; victorialogs et http_generique à 100 %, total à 99 %.ruff checketruff format --checkpassent.Limites