mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
command: Fix test cleanup
This test runs `init`, which causes some dangling `.terraform` state after running tests.
This commit is contained in:
parent
435529a20f
commit
d2b215f4d5
@ -745,7 +745,10 @@ func TestImport_missingModuleConfig(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestImportModuleVarFile(t *testing.T) {
|
||||
defer testChdir(t, testFixturePath("import-module-var-file"))()
|
||||
td := tempDir(t)
|
||||
copy.CopyDir(testFixturePath("import-module-var-file"), td)
|
||||
defer os.RemoveAll(td)
|
||||
defer testChdir(t, td)()
|
||||
|
||||
statePath := testTempFile(t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user