pulumi/pkg/codegen/testing/test/testdata/plain-object-defaults
Eng Zer Jun 19d84ef1f3
test: use `T.Setenv` to set env vars in tests (#10234)
This commit replaces `os.Setenv` with `t.Setenv` in tests. The
environment variable is automatically restored to its original value
when the test and all its subtests complete.

Reference: https://pkg.go.dev/testing#T.Setenv
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-07-24 10:41:44 +01:00
..
docs Fix the function template to show YAML under the YAML tab (#9563) 2022-05-06 16:19:25 -07:00
dotnet Patch go plain input (#9488) 2022-04-29 09:54:42 -07:00
go [sdk/go] Enable obtaining resource outputs off a ResourceOutput (#9513) 2022-05-03 11:36:57 -07:00
go-extras/tests test: use `T.Setenv` to set env vars in tests (#10234) 2022-07-24 10:41:44 +01:00
nodejs Set the package.json pulumi name even if PluginName isn't set (#10088) 2022-07-11 23:17:08 +01:00
python [codegen/python] Implement deep merge on resource and invoke options, matching other SDKs (#9856) 2022-06-14 16:52:24 -07:00
schema.json export codegen tests for internal use (#8928) 2022-02-07 12:10:04 +01:00