mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-02 15:28:29 +01:00
dvc: use two-level hash for cache
Fixes #488 Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -154,7 +154,7 @@ class TestDataCloudGCP(TestDataCloudBase):
|
||||
# Setup cloud
|
||||
config = {'StoragePath': repo,
|
||||
'Region': self.TEST_REPO_GCP_PROJECT}
|
||||
cloud_settings = CloudSettings(self.dvc.cache.cache_dir, None, config)
|
||||
cloud_settings = CloudSettings(self.dvc.cache, None, config)
|
||||
self.cloud = DataCloudGCP(cloud_settings)
|
||||
|
||||
def test(self):
|
||||
@@ -172,7 +172,7 @@ class TestDataCloudLOCAL(TestDataCloudBase):
|
||||
self.dname = 'cloud'
|
||||
os.mkdir(self.dname)
|
||||
config = {'StoragePath': self.dname}
|
||||
cloud_settings = CloudSettings(self.dvc.cache.cache_dir, None, config)
|
||||
cloud_settings = CloudSettings(self.dvc.cache, None, config)
|
||||
self.cloud = DataCloudLOCAL(cloud_settings)
|
||||
|
||||
def test(self):
|
||||
|
||||
Reference in New Issue
Block a user