(t *testing.T)
| 73 | } |
| 74 | |
| 75 | func TestPiEngine_GetRequiredSecretNames_NoPrefix(t *testing.T) { |
| 76 | engine := NewPiEngine() |
| 77 | workflowData := &WorkflowData{ |
| 78 | Name: "test-workflow", |
| 79 | EngineConfig: &EngineConfig{ID: "pi", Model: "claude-sonnet-4-20250514"}, |
| 80 | } |
| 81 | secrets := engine.GetRequiredSecretNames(workflowData) |
| 82 | assert.Contains(t, secrets, "COPILOT_GITHUB_TOKEN", "bare model (no prefix) should default to COPILOT_GITHUB_TOKEN") |
| 83 | } |
| 84 | |
| 85 | func TestPiEngine_GetLogParserScriptId(t *testing.T) { |
| 86 | engine := NewPiEngine() |
nothing calls this directly
no test coverage detected