Repository navigation
test(#50): palier 2 de couverture (58,25 % -> 100 %), seuil à 95 % - #65
Merged
Merged
Conversation
This was referenced Oct 24, 2026
Closed
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.
Objet
Refs #50 — palier 2 de couverture.
tests/test_core_doublure.py(65 tests) :_core.shimest remplacé par une doublure qui enregistre chaque appel et renvoie une valeur choisie par le test. Les tampons restent de vrais objets cffi (ffi.new), donc le marshaling Python <-> C est exercé ; seul le réseau RDP est absent. CouvreKeyboard,Mouse, les callbacksextern "Python"(contexte connu et inconnu),Clipboard(texte, DIB, fichiers, contenus par blocs, timeouts, réponses orphelines, demandes du serveur),Client(resize, frames, fds, erreurs decheck_event_handles, déconnexion) etconnect()(chemin nominal, GFX tardif, échecs de contexte, de réglages, de connexion et de GDI).tests/test_tracing.py: 3 cas limites de_safe_repr/_format_call(repr qui lève, paramètres par défaut,*args/**kwargsavec rédaction).pyproject.toml:fail_underpasse de 58 à 95 (cible de l'équipe, SOCLE §4). Aucun code de production modifié, aucune exclusion ajoutée.Vérifications
uv run ruff check .etuv run ruff format --check .: OK.uv run pytest tests/ --covavec les mêmes--ignoreque le job Qualité : 181 passés, 1 ignoré (préexistant), couverture 100 % lignes et branches (_core.py,tracing.py,usb.py,__init__.py).Limites
test_integration_live.py, serveur RDP d'essai).