post-processor/docker-push: drop unused test helper functions (#8456)

This commit is contained in:
Lars Lehtonen 2019-12-06 02:07:51 -08:00 committed by Adrien Delorme
parent 5ff5623433
commit 4fe34a5dc3
1 changed files with 0 additions and 13 deletions

View File

@ -10,19 +10,6 @@ import (
dockerimport "github.com/hashicorp/packer/post-processor/docker-import"
)
func testConfig() map[string]interface{} {
return map[string]interface{}{}
}
func testPP(t *testing.T) *PostProcessor {
var p PostProcessor
if err := p.Configure(testConfig()); err != nil {
t.Fatalf("err: %s", err)
}
return &p
}
func testUi() *packer.BasicUi {
return &packer.BasicUi{
Reader: new(bytes.Buffer),