feat(M13): complete test fixtures, shared conftest, and coverage >= 90%
Finalize M13 test and coverage milestone: tests/fixtures/pronote-6e.ics (new): - Anonymized iCal fixture for Classe de 6e (3 VEVENTs: SVT lesson with homework block, Histoire-Géo modified lesson, all-day school outing) - Same structure as pronote-4e.ics, no secrets or real data tests/conftest.py: - Added sample_message fixture (Message with MessageType.INFORMATION) - Integrated sample_message into pronote_data fixture (messages=[sample_message]) - Sphinx/reST docstring with :return: and :rtype: .gitignore: - Fixed typo: .worktress/ -> .worktrees/ (line 56) pyproject.toml: - Added ".worktrees" to ruff extend-exclude to prevent ruff format --check . from scanning worktree files TODO.md: - Checked M13 items: tests/fixtures/ and tests/conftest.py Validation: 627 tests pass, coverage 95.67% (threshold 90%), ruff/mypy/ bandit/pre-commit all green. Co-authored-by: opencode/coder <coder@agents.invalid>
This commit is contained in:
@@ -94,7 +94,7 @@ skips = ["B101"] # Ignorer les assertions (utilisées dans les tests)
|
||||
line-length = 100
|
||||
target-version = "py313"
|
||||
# Exclure la documentation markdown (ruff format ne doit pas toucher aux blocs de code Python inclus)
|
||||
extend-exclude = ["GUIDE_DEV_PYTHON.md"]
|
||||
extend-exclude = ["GUIDE_DEV_PYTHON.md", ".worktrees"]
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
|
||||
Reference in New Issue
Block a user