ignition: tests as unit test (#14703)
This commit is contained in:
parent
dd89c922c3
commit
b8fb1b5ed9
|
@ -70,6 +70,7 @@ func TestIngnitionFileAppend(t *testing.T) {
|
|||
|
||||
func testIgnitionError(t *testing.T, input string, expectedErr *regexp.Regexp) {
|
||||
resource.Test(t, resource.TestCase{
|
||||
IsUnitTest: true,
|
||||
Providers: testProviders,
|
||||
Steps: []resource.TestStep{
|
||||
{
|
||||
|
@ -94,6 +95,7 @@ func testIgnition(t *testing.T, input string, assert func(*types.Config) error)
|
|||
}
|
||||
|
||||
resource.Test(t, resource.TestCase{
|
||||
IsUnitTest: true,
|
||||
Providers: testProviders,
|
||||
Steps: []resource.TestStep{
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue