Simplify and document plugin test harness.

This commit is contained in:
jregan
2019-11-29 06:50:02 -08:00
parent 8bb8637213
commit 038c070626
12 changed files with 60 additions and 50 deletions

View File

@@ -13,7 +13,7 @@ func TestBashedConfigMapPlugin(t *testing.T) {
tc := kusttest_test.NewPluginTestEnv(t).Set()
defer tc.Reset()
tc.BuildExecPlugin(
tc.PrepExecPlugin(
"someteam.example.com", "v1", "BashedConfigMap")
th := kusttest_test.NewKustTestHarnessAllowPlugins(t, "/app")