mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
add gdrive remote profile field to config
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
44a4fb59a7
commit
9ff18502b6
@@ -279,6 +279,16 @@ def test_load_relative_paths(dvc, field, remote_url):
|
||||
)
|
||||
|
||||
|
||||
def test_config_gdrive_fields(tmp_dir, dvc):
|
||||
with dvc.config.edit() as conf:
|
||||
conf["remote"]["test"] = {
|
||||
"url": "gdrive://root/test",
|
||||
"profile": "myprofile",
|
||||
}
|
||||
|
||||
Config(validate=True)
|
||||
|
||||
|
||||
def test_config_remote(tmp_dir, dvc, capsys):
|
||||
(tmp_dir / ".dvc" / "config").write_text(
|
||||
"['remote \"myremote\"']\n"
|
||||
|
||||
Reference in New Issue
Block a user