Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a07b5b-ea58-7ad2-bdbb-0b1c995cfc35
23 lines
676 B
Python
23 lines
676 B
Python
"""Opt-in read-only smoke; never injects a message or starts a worker."""
|
|
|
|
import os
|
|
|
|
import pytest
|
|
|
|
from coordination_engine.adapters import Hub, Tamq, registry
|
|
from coordination_engine.config import Config
|
|
|
|
|
|
@pytest.mark.live
|
|
@pytest.mark.skipif(
|
|
os.environ.get("COORDINATION_LIVE_SMOKE") != "1",
|
|
reason="set COORDINATION_LIVE_SMOKE=1 explicitly",
|
|
)
|
|
def test_local_adapter_discovery():
|
|
config = Config.load()
|
|
assert "coordination-engine" in registry()
|
|
assert isinstance(Hub(config).request("/repos/"), list)
|
|
hello = Tamq(config).request("ping")
|
|
assert {"bounded_delivery_ack_v1", "idempotent_send_v1"} <= set(
|
|
hello["capabilities"]
|
|
)
|