MCPcopy Create free account
hub / github.com/bytebase/bytebase / testContext

Function testContext

backend/api/mcp/tool_http_test.go:90–92  ·  view source on GitHub ↗

testContext returns a context with a test workspace ID.

()

Source from the content-addressed store, hash-verified

88
89// testContext returns a context with a test workspace ID.
90func testContext() context.Context {
91 return withWorkspaceID(context.Background(), "wk-test")
92}
93
94func TestWorkspaceIDContext(t *testing.T) {
95 ctx := context.Background()

Calls 1

withWorkspaceIDFunction · 0.85

Tested by

no test coverage detected