post-processor/docker-push: drop unused test helper functions (#8456)
This commit is contained in:
parent
5ff5623433
commit
4fe34a5dc3
|
@ -10,19 +10,6 @@ import (
|
||||||
dockerimport "github.com/hashicorp/packer/post-processor/docker-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 {
|
func testUi() *packer.BasicUi {
|
||||||
return &packer.BasicUi{
|
return &packer.BasicUi{
|
||||||
Reader: new(bytes.Buffer),
|
Reader: new(bytes.Buffer),
|
||||||
|
|
Loading…
Reference in New Issue