Standardize gdrive tests with others remotes

This commit is contained in:
Max Risuhin
2019-12-15 05:31:52 -08:00
parent 6e22769f3d
commit 4d4a3fc716
3 changed files with 1 additions and 10 deletions
-9
View File
@@ -1,9 +0,0 @@
import pytest
from dvc.remote.gdrive import RemoteGDrive
@pytest.fixture
def gdrive(repo):
ret = RemoteGDrive(None, {"url": "gdrive://root/data"})
return ret
@@ -3,7 +3,7 @@ from dvc.remote.gdrive import RemoteGDrive
@mock.patch("dvc.remote.gdrive.RemoteGDrive.init_drive")
def test_init_drive(repo):
def test_init(repo):
url = "gdrive://root/data"
gdrive = RemoteGDrive(repo, {"url": url})
assert str(gdrive.path_info) == url