MCPcopy Index your code
hub / github.com/CommonstackAI/UncommonRoute / test_models_list

Method test_models_list

tests/test_proxy.py:702–710  ·  view source on GitHub ↗
(self, client: TestClient)

Source from the content-addressed store, hash-verified

700
701class TestModelsEndpoint:
702 def test_models_list(self, client: TestClient) -> None:
703 resp = client.get("/v1/models")
704 assert resp.status_code == 200
705 data = resp.json()
706 assert data["object"] == "list"
707 model_ids = [m["id"] for m in data["data"]]
708 assert "uncommon-route/auto" in model_ids
709 assert "uncommon-route/fast" in model_ids
710 assert "uncommon-route/best" in model_ids
711
712
713class TestVirtualModelAliases:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected