"""Weekly coordinator responsibilities live in focused host modules."""

from __future__ import annotations

from importlib.util import find_spec


def test_weekly_owner_host_module_owns_weekly_lifecycle() -> None:
    # Given: the gateway's weekly owner lifecycle.
    module_name = "gateway.platforms.nutrition_weekly_host_facade"

    # When: its production owner is resolved.
    spec = find_spec(module_name)

    # Then: the focused host module exists as a direct import target.
    assert spec is not None

