Make security scan testing much faster

This commit is contained in:
Joseph Schorr 2016-05-05 13:55:24 -04:00
parent 836a99083e
commit 343a080833
4 changed files with 13 additions and 5 deletions

View file

@ -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):