mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-12 23:10:11 +01:00
analytics: document why tmp_global_config is needed
This commit is contained in:
@@ -8,6 +8,9 @@ from dvc.utils.compat import builtin_str, str
|
||||
|
||||
@pytest.fixture
|
||||
def tmp_global_config(tmp_path):
|
||||
"""
|
||||
Fixture to prevent modifying the actual global config
|
||||
"""
|
||||
with mock.patch(
|
||||
"dvc.config.Config.get_global_config_dir", return_value=tmp_path
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user