ignition: tests as unit test (#14703)

This commit is contained in:
Máximo Cuadros 2017-05-22 15:40:41 +02:00 committed by Paul Stack
parent dd89c922c3
commit b8fb1b5ed9
1 changed files with 4 additions and 2 deletions

View File

@ -70,7 +70,8 @@ func TestIngnitionFileAppend(t *testing.T) {
func testIgnitionError(t *testing.T, input string, expectedErr *regexp.Regexp) {
resource.Test(t, resource.TestCase{
Providers: testProviders,
IsUnitTest: true,
Providers: testProviders,
Steps: []resource.TestStep{
{
Config: fmt.Sprintf(testTemplate, input),
@ -94,7 +95,8 @@ func testIgnition(t *testing.T, input string, assert func(*types.Config) error)
}
resource.Test(t, resource.TestCase{
Providers: testProviders,
IsUnitTest: true,
Providers: testProviders,
Steps: []resource.TestStep{
{
Config: fmt.Sprintf(testTemplate, input),