Make security scan testing much faster
This commit is contained in:
parent
836a99083e
commit
343a080833
4 changed files with 13 additions and 5 deletions
|
@ -56,6 +56,9 @@ class FakeStorage(BaseStorageV2):
|
|||
_FAKE_STORAGE_MAP.pop(path, None)
|
||||
|
||||
def exists(self, path):
|
||||
if _FAKE_STORAGE_MAP.get('all_files_exist', None):
|
||||
return True
|
||||
|
||||
return path in _FAKE_STORAGE_MAP
|
||||
|
||||
def get_checksum(self, path):
|
||||
|
|
Reference in a new issue