From f4102aaa3a352281caa8bb295d11d5d5d6864649 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 2 Jul 2021 09:31:45 -0400 Subject: [PATCH] Remove unused mock_home_env() pytest fixture This was replaced with patched_home_env() but never removed. --- monkey/tests/conftest.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/monkey/tests/conftest.py b/monkey/tests/conftest.py index b0e9e9c2e..23249016e 100644 --- a/monkey/tests/conftest.py +++ b/monkey/tests/conftest.py @@ -11,10 +11,3 @@ sys.path.insert(0, MONKEY_BASE_PATH) @pytest.fixture(scope="session") def data_for_tests_dir(pytestconfig): return os.path.join(pytestconfig.rootdir, "monkey", "tests", "data_for_tests") - - -@pytest.fixture -def mock_home_env(monkeypatch, tmpdir): - monkeypatch.setenv("HOME", str(tmpdir)) - - return tmpdir