|
|
@ -30,6 +30,15 @@ func TestUninstall(t *testing.T) {
|
|
|
|
golden: "output/uninstall.txt",
|
|
|
|
golden: "output/uninstall.txt",
|
|
|
|
rels: []*release.Release{release.Mock(&release.MockReleaseOptions{Name: "aeneas"})},
|
|
|
|
rels: []*release.Release{release.Mock(&release.MockReleaseOptions{Name: "aeneas"})},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
name: "multiple uninstall",
|
|
|
|
|
|
|
|
cmd: "uninstall aeneas aeneas2",
|
|
|
|
|
|
|
|
golden: "output/uninstall-multiple.txt",
|
|
|
|
|
|
|
|
rels: []*release.Release{
|
|
|
|
|
|
|
|
release.Mock(&release.MockReleaseOptions{Name: "aeneas"}),
|
|
|
|
|
|
|
|
release.Mock(&release.MockReleaseOptions{Name: "aeneas2"}),
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
name: "uninstall with timeout",
|
|
|
|
name: "uninstall with timeout",
|
|
|
|
cmd: "uninstall aeneas --timeout 120",
|
|
|
|
cmd: "uninstall aeneas --timeout 120",
|
|
|
|