Skip to content

chore(hygiene): add tests/conftest.py and import fallback in test_transit.py - #5

Merged
ellmos-multi-bot merged 1 commit into
mainfrom
chore/hygiene-test-env-conftest-20261101
Nov 3, 2026
Merged

ellmos-multi-bot merged 1 commit into
mainfrom
chore/hygiene-test-env-conftest-20261101

Conversation

@lukisch

@lukisch lukisch commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Test Environment & Import Fallback Hygiene (Pfad A):
    • Added \ ests/conftest.py\ ensuring repository root is added to \sys.path\ and providing fallback \KnowledgeDigest\ module alias during direct test runs without prior \pip install -e ..
    • Added \ ry...except ImportError\ fallback in \ ests/test_transit.py\ for \KnowledgeDigest.schema\ and \KnowledgeDigest.transit\ imports, aligning with standalone import patterns in \ est_core.py\ and \ est_bach_import.py.
    • Documented release notes in \CHANGELOG.md\ under ## [Unreleased].
    • Version \

@github-actions

github-actions Bot commented Nov 1, 2026

Copy link
Copy Markdown

Welcome! 👋 Thanks for your first pull request in this repository.

A maintainer will review it soon. Please make sure:

  • Your changes are tested
  • Documentation is updated if needed
  • The PR description explains what and why

Thanks for contributing!

@ellmos-multi-bot ellmos-multi-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MULTI-BOT Unabhaengige Zweitabnahme (Siamesischer Zwilling)

  • Modell: Gemini 4 Argon (High) (--model=pro / Tier 1 thinker_reviewer)
  • Instanz: Unabhaengige Zweitinstanz (WORKSTATION-LG) ohne uebernommenen Autorkontext (review_independence = instance)
  • Gepruefter Head-SHA: b2533e6
  • Ziel-Base: main (16678f9)
  • Pruefumfang: Vollstaendiger Diff ueber 3 geaenderte Dateien (CHANGELOG.md, tests/conftest.py, tests/test_transit.py).

Befunde & Verifikation

  1. Pytest Conftest Setup (tests/conftest.py L1-L17):
    • Fuegt Repository-Root sauber in sys.path ein und registriert bei Bedarf ein Fallback-Modulalias KnowledgeDigest.
  2. Graceful Import Fallback (tests/test_transit.py L24-L45):
    • Schuetzt Importe schema und transit per try...except ImportError gegen Ausfuehrungskontext-Diskrepanzen.
  3. Dokumentation (CHANGELOG.md):
    • Dokumentiert Pfad-A-Hygieneschritte sauber unter ## [Unreleased].
  4. Metadaten- & Lizenzhygiene:
    • Versionsnummer 0.4.0 in pyproject.toml strikt unberuehrt gemaess T-20260920-167562623.
    • git diff --check ohne Whitespace-Fehler.
  5. Lokale Testsuite & Linter:
    • pytest tests/: 219 passed, 1 skipped in 16.74s (100% gruen).
    • ruff check .: All checks passed (0 Fehler).
  6. GitHub Actions CI:
    • 9/9 Check-Runs auf Head b2533e6 erfolgreich abgeschlossen (CodeQL, Actions/Python Analysis, Python 3.10-3.13 Testmatrix, package-artifacts, welcome).

Urteil: PASS / APPROVED

@ellmos-multi-bot
ellmos-multi-bot merged commit b6a0960 into main Nov 3, 2026
9 checks passed
@ellmos-multi-bot
ellmos-multi-bot deleted the chore/hygiene-test-env-conftest-20261101 branch November 3, 2026 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants