mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-26 07:18:31 +01:00
state: save collected dir to cache
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
+2
-2
@@ -41,11 +41,11 @@ class TestCacheLoadBadDirCache(TestDvc):
|
||||
self.assertEqual(len(ret), 0)
|
||||
|
||||
def test(self):
|
||||
fname = 'not-json'
|
||||
fname = self.dvc.cache.local.get('123')
|
||||
self.create(fname, '<clearly>not,json')
|
||||
self._do_test(RemoteLOCAL.load_dir_cache(fname))
|
||||
|
||||
fname = 'not-list'
|
||||
fname = self.dvc.cache.local.get('234')
|
||||
self.create(fname, '{"a": "b"}')
|
||||
self._do_test(RemoteLOCAL.load_dir_cache(fname))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user