test(proxy): expect tuple from get_agent_list after registry refactor

PR #36020 (eb3c8c168f) switched AgentRegistry.get_agent_list from list to
tuple to satisfy the mutable-collection budget, but this assertion was left
comparing against []. The stale check has failed every Proxy API Endpoints
run since that merge; realigning it with the new return type restores the
job without changing behavior

Co-authored-by: Krrish Dholakia <krrish-berri-2@users.noreply.github.com>
This commit is contained in:
Cursor Agent 2026-08-07 21:09:25 +00:00
parent 78addb230b
commit ae29104e12
No known key found for this signature in database

View file

@ -2638,4 +2638,4 @@ async def test_ProxyConfig__init_non_llm_configs_empty_agents_key_clears_remembe
assert clean_agent_registry.config_agents == ()
clean_agent_registry.load_agents_from_db_and_config(db_agents=None)
assert clean_agent_registry.get_agent_list() == []
assert clean_agent_registry.get_agent_list() == ()