mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
tests: stringify tmp_global_config since it doesnt return a pathlike object
This commit is contained in:
@@ -15,7 +15,7 @@ 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
|
||||
"dvc.config.Config.get_global_config_dir", return_value=str(tmp_path)
|
||||
):
|
||||
yield
|
||||
|
||||
|
||||
Reference in New Issue
Block a user