From c19435e6daaac769fbd8d6e2ac9adb8cb8d795cd Mon Sep 17 00:00:00 2001 From: Dan Ryan Date: Tue, 28 Apr 2020 11:47:16 -0400 Subject: [PATCH] Fix relative path issue during tests Signed-off-by: Dan Ryan --- tests/integration/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 18e38878..ef91f503 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -210,7 +210,7 @@ def isolate(create_tmpdir): os.environ["GIT_ASK_YESNO"] = fs_str("false") workon_home = create_tmpdir() os.environ["WORKON_HOME"] = fs_str(str(workon_home)) - os.environ["HOME"] = home_dir + os.environ["HOME"] = os.path.abspath(home_dir) mkdir_p(os.path.join(home_dir, "projects")) # Ignore PIPENV_ACTIVE so that it works as under a bare environment. os.environ.pop("PIPENV_ACTIVE", None)