aboutsummaryrefslogtreecommitdiff
Retain environment setting of "HOME" for tests that need os.path.expanduser()
to return a readable directory in the build chroot.

--- thefuck-3.25/tests/conftest.py
+++ thefuck-3.25/tests/conftest.py
@@ -64,6 +64,7 @@ def set_shell(monkeypatch):
 
 @pytest.fixture(autouse=True)
 def os_environ(monkeypatch):
-    env = {'PATH': os.environ['PATH']}
+    env = {'PATH': os.environ['PATH'],
+           'HOME': os.environ['HOME']}
     monkeypatch.setattr('os.environ', env)
     return env
patch?id=2092c31723b6f33c1c68d18637af1459d8b68bc1&showmsg=1'>Expand)Author 2020-02-16gnu: elixir: Update to 1.10.0....* gnu/packages/elixir.scm (elixir): Update to 1.10.0. * gnu/packages/patches/elixir-path-length.patch: Update patch so it can be applied to v1.10.0 source Signed-off-by: Marius Bakke <mbakke@fastmail.com> Oskar Köök