MCPcopy Create free account
hub / github.com/github/gh-aw / TestCodexEngineOpenAIProxyProviderBaseURL

Function TestCodexEngineOpenAIProxyProviderBaseURL

pkg/workflow/codex_engine_test.go:426–433  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

424}
425
426func TestCodexEngineOpenAIProxyProviderBaseURL(t *testing.T) {
427 engine := NewCodexEngine()
428 expected := "http://" + net.JoinHostPort(constants.AWFAPIProxyContainerIP, strconv.Itoa(constants.ClaudeLLMGatewayPort))
429
430 if actual := engine.getOpenAIProxyProviderBaseURL(); actual != expected {
431 t.Errorf("Expected OpenAI proxy provider base URL %q, got %q", expected, actual)
432 }
433}
434
435func TestCodexEngineExecutionAddsMountedMCPCLIPathSetup(t *testing.T) {
436 engine := NewCodexEngine()

Callers

nothing calls this directly

Calls 3

NewCodexEngineFunction · 0.85
ErrorfMethod · 0.45

Tested by

no test coverage detected