summaryrefslogtreecommitdiff
path: root/app-admin/ansible-molecule/files/ansible-molecule-fix-test-env.patch
blob: f4ab3c770e617443c0bb2eb41e3458b56bc41352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/tests/conftest.py b/tests/conftest.py
index e44503d..6962043 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -310,6 +310,9 @@ def fixture_test_ephemeral_dir_env(test_cache_path: Path) -> dict[str, str]:
     return {
         "PATH": path,
         "MOLECULE_EPHEMERAL_DIRECTORY": str(test_cache_path),
+        "HOME": os.environ.get("HOME", ""),
+        "ANSIBLE_LOCAL_TEMP": os.environ.get("ANSIBLE_LOCAL_TEMP", ""),
+        "ANSIBLE_REMOTE_TEMP": os.environ.get("ANSIBLE_REMOTE_TEMP", ""),
     }