mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-10 15:28:34 +01:00
test: save cache backup
This commit is contained in:
@@ -416,7 +416,7 @@ class TestDataCloudCLIBase(TestDvc):
|
||||
|
||||
# NOTE: check if remote gc works correctly on directories
|
||||
self.main(['gc', '-c', '-f'] + args)
|
||||
shutil.rmtree(self.dvc.cache.local.cache_dir)
|
||||
shutil.move(self.dvc.cache.local.cache_dir, self.dvc.cache.local.cache_dir + '.back')
|
||||
|
||||
sleep()
|
||||
self.main(['fetch'] + args)
|
||||
|
||||
Reference in New Issue
Block a user