Add producer-owned authenticated Go decision client and validated Forgejo profile
Assistant: codex Assistant-Model: gpt-6.1-sol Assistant-Session: 01a14bfc-9643-7872-aa12-98326dcf25e7
This commit is contained in:
parent
d328a26010
commit
ca0cb75729
24 changed files with 2980 additions and 4 deletions
15
pkg/decisionpep/export_test.go
Normal file
15
pkg/decisionpep/export_test.go
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
package decisionpep
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// The distribution is a generated source slice, never a second implementation.
|
||||
func TestConsumerExportMatchesProducerSource(t *testing.T) {
|
||||
command := exec.Command("python3", filepath.Join("..", "..", "tools", "export_decisionpep_adapter.py"), "--check")
|
||||
if output, err := command.CombinedOutput(); err != nil {
|
||||
t.Fatalf("consumer export drift: %v\n%s", err, output)
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue