diff --git a/monkey/tests/unit_tests/conftest.py b/monkey/tests/unit_tests/conftest.py index c57cfa6f3..8e0fc96d9 100644 --- a/monkey/tests/unit_tests/conftest.py +++ b/monkey/tests/unit_tests/conftest.py @@ -3,6 +3,6 @@ import pytest @pytest.fixture def patched_home_env(monkeypatch, tmp_path): - monkeypatch.setenv("HOME", tmp_path) + monkeypatch.setenv("HOME", str(tmp_path)) return tmp_path