Skip to content

Commit

Permalink
Adds kube_config test for exec
Browse files Browse the repository at this point in the history
  • Loading branch information
srm09 committed Jun 25, 2020
1 parent 7f028dc commit 6787b0d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions starlark/starlark_exec_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,15 @@ func TestExec(t *testing.T) {
}
},
},
{
name: "kube_config only",
script: `kube_config()`,
eval: func(t *testing.T, script string) {
if err := New().Exec("test.file", strings.NewReader(script)); err != nil {
t.Fatal(err)
}
},
},
}

for _, test := range tests {
Expand Down

0 comments on commit 6787b0d

Please sign in to comment.