tests: use temporary_store (#41369)

This commit is contained in:
Harmen Stoppels 2023-12-01 00:11:35 +01:00 committed by GitHub
parent 779fef7d41
commit 04f64d4ac6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3540,7 +3540,7 @@ def test_environment_created_in_users_location(mutable_mock_env_path, tmp_path):
assert os.path.isdir(os.path.join(env_dir, dir_name))
def test_environment_created_from_lockfile_has_view(mock_packages, tmpdir):
def test_environment_created_from_lockfile_has_view(mock_packages, temporary_store, tmpdir):
"""When an env is created from a lockfile, a view should be generated for it"""
env_a = str(tmpdir.join("a"))
env_b = str(tmpdir.join("b"))