mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-01 23:08:43 +01:00
update test fixture to use tmp_path_factory (#10939)
This commit is contained in:
@@ -7,9 +7,9 @@ from dvc_studio_client.auth import AuthorizationExpiredError
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def global_config_dir(monkeypatch, tmp_dir_factory):
|
||||
def global_config_dir(monkeypatch, tmp_path_factory):
|
||||
monkeypatch.setenv(
|
||||
env.DVC_GLOBAL_CONFIG_DIR, str(tmp_dir_factory.mktemp("studio-login"))
|
||||
env.DVC_GLOBAL_CONFIG_DIR, str(tmp_path_factory.mktemp("studio-login"))
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user