Skip to content

Commit df69e62

Browse files
committed
Fix tests
1 parent d5c3ef2 commit df69e62

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/remote/gdrive/test_gdrive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
from dvc.remote.gdrive import RemoteGDrive
33

44

5-
@mock.patch("dvc.remote.gdrive.RemoteGDrive.drive")
5+
@mock.patch("dvc.remote.gdrive.RemoteGDrive.init_drive")
66
def test_init_drive(repo):
77
url = "gdrive://root/data"
88
gdrive = RemoteGDrive(repo, {"url": url})
99
assert str(gdrive.path_info) == url
1010

1111

12-
@mock.patch("dvc.remote.gdrive.RemoteGDrive.drive")
12+
@mock.patch("dvc.remote.gdrive.RemoteGDrive.init_drive")
1313
def test_init_folder_id(repo):
1414
url = "gdrive://folder_id/data"
1515
gdrive = RemoteGDrive(repo, {"url": url})

0 commit comments

Comments
 (0)