@@ -0,0 +1,16 @@
|
||||
package deployment_test
|
||||
|
||||
import (
|
||||
"os/exec"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// Exercise the real shell scripts with isolated fake Docker/SSH commands.
|
||||
// This checks deployment argv contracts, not live cloud connectivity.
|
||||
func TestDeploymentScripts(t *testing.T) {
|
||||
cmd := exec.Command("python3", "test_deployment.py")
|
||||
out, err := cmd.CombinedOutput()
|
||||
if err != nil {
|
||||
t.Fatalf("deployment contract: %v\n%s", err, out)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user