Files
odysseus/routes/email_routes.py
T
pewdiepie-archdaemon 2e8413a54a Preserve preview harness, editor, email and task improvements
Snapshot current maintainer-preview application changes and regression fixtures for integration into lab. Excludes local runtime data, evaluation outputs and source backups. Focused Python regression selection: 140 passed; full suite not certified.
2026-10-01 01:34:26 +00:00

17 lines
657 B
Python

"""Backward-compat shim — canonical location is routes/email/email_routes.py.
This module is replaced in ``sys.modules`` by the canonical module object so
that ``import routes.email_routes``, ``from routes.email_routes import X``,
``importlib.import_module("routes.email_routes")`` and the
``import ... as email_routes`` + ``monkeypatch.setattr(email_routes, ...)``
pattern used across the email tests all operate on the *same* object the
application actually uses. Source-introspection tests read the canonical file
by path.
"""
import sys as _sys
from routes.email import email_routes as _canonical # noqa: F401
_sys.modules[__name__] = _canonical