Prepare State Hub retirement baseline
This commit is contained in:
parent
2217bdd9f5
commit
5927591be8
46 changed files with 32583 additions and 62 deletions
19
tests/test_codex_mcp_server.py
Normal file
19
tests/test_codex_mcp_server.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import asyncio
|
||||
|
||||
from mcp_server import codex_server
|
||||
|
||||
|
||||
def test_codex_server_has_only_repository_coordination_tools() -> None:
|
||||
tools = asyncio.run(codex_server.mcp.list_tools())
|
||||
assert {tool.name for tool in tools} == {
|
||||
"get_domain_summary",
|
||||
"get_messages",
|
||||
"mark_message_read",
|
||||
"add_progress_event",
|
||||
"record_decision",
|
||||
"update_task_status",
|
||||
}
|
||||
|
||||
|
||||
def test_codex_server_uses_distinct_server_identity() -> None:
|
||||
assert codex_server.mcp.name == "dev-hub-codex"
|
||||
Loading…
Add table
Add a link
Reference in a new issue