We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 439d3c4 commit 6b52345Copy full SHA for 6b52345
1 file changed
tests/pytests/unit/utils/test_gitfs.py
@@ -1,3 +1,4 @@
1
+import importlib
2
import os
3
import time
4
@@ -264,8 +265,6 @@ def test_checkout_pygit2_with_home_env_unset(_prepare_provider):
264
265
provider.credentials = None
266
with patched_environ(__cleanup__=["HOME"]):
267
assert "HOME" not in os.environ
- import importlib
268
-
269
importlib.reload(salt.utils.gitfs)
270
assert "HOME" in os.environ
271
0 commit comments