MCPcopy Create free account
hub / github.com/github/copilot-sdk / assertNoMCPAuthInterest

Function assertNoMCPAuthInterest

go/client_test.go:1650–1657  ·  view source on GitHub ↗
(t *testing.T, requests []recordedRequest)

Source from the content-addressed store, hash-verified

1648}
1649
1650func assertNoMCPAuthInterest(t *testing.T, requests []recordedRequest) {
1651 t.Helper()
1652 for _, request := range requests {
1653 if request.Method == "session.eventLog.registerInterest" && request.Params["eventType"] == "mcp.oauth_required" {
1654 t.Fatalf("did not expect MCP auth interest registration in %+v", requests)
1655 }
1656 }
1657}
1658
1659func assertMCPAuthInterest(t *testing.T, request recordedRequest) {
1660 t.Helper()

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…