mirror of
https://github.com/hashicorp/packer.git
synced 2026-05-28 04:35:38 -04:00
packer_test: rename init function for base suite
This commit is contained in:
parent
dbd441f6f3
commit
aba64b457c
3 changed files with 3 additions and 3 deletions
|
|
@ -12,7 +12,7 @@ type PackerCoreTestSuite struct {
|
|||
}
|
||||
|
||||
func Test_PackerPluginSuite(t *testing.T) {
|
||||
baseSuite, cleanup := lib.PackerCoreSuite(t)
|
||||
baseSuite, cleanup := lib.InitBaseSuite(t)
|
||||
defer cleanup()
|
||||
|
||||
ts := &PackerCoreTestSuite{
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ func (ts *PackerTestSuite) SkipNoAcc() {
|
|||
}
|
||||
}
|
||||
|
||||
func PackerCoreSuite(t *testing.T) (*PackerTestSuite, func()) {
|
||||
func InitBaseSuite(t *testing.T) (*PackerTestSuite, func()) {
|
||||
ts := &PackerTestSuite{}
|
||||
|
||||
tempDir, err := os.MkdirTemp("", "packer-core-acc-test-")
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ type PackerPluginTestSuite struct {
|
|||
}
|
||||
|
||||
func Test_PackerPluginSuite(t *testing.T) {
|
||||
baseSuite, cleanup := lib.PackerCoreSuite(t)
|
||||
baseSuite, cleanup := lib.InitBaseSuite(t)
|
||||
defer cleanup()
|
||||
|
||||
ts := &PackerPluginTestSuite{
|
||||
|
|
|
|||
Loading…
Reference in a new issue