Shubham Tholiya
04/27/2025, 1:19 PMos.Setenv and os.Unsetenv for tests.
It is better that we use t.Setenv instead. This function ensures that env is unset after the test and is scoped in the tests so it is better.
Also similarly we can use t.Chdir