Assistant: codex Assistant-Model: gpt-6.1-sol Assistant-Session: 01a14bfc-9643-7872-aa12-98326dcf25e7
15 lines
449 B
Go
15 lines
449 B
Go
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)
|
|
}
|
|
}
|