mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 23:10:42 +01:00
10 lines
252 B
Python
10 lines
252 B
Python
import mock
|
|
from dvc.remote.gdrive import RemoteGDrive
|
|
|
|
|
|
@mock.patch("dvc.remote.gdrive.RemoteGDrive.init_drive")
|
|
def test_init(repo):
|
|
url = "gdrive://root/data"
|
|
gdrive = RemoteGDrive(repo, {"url": url})
|
|
assert str(gdrive.path_info) == url
|