Raising index error while testing.

This commit is contained in:
Roland 2022-12-16 09:43:32 -07:00
parent 10e32d8db9
commit dc0d2e57bb
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -93,6 +93,8 @@ class ZipIndexer(Indexer, ABC):
return file_names
except Exception as e:
logger.error(f'Unable to get information from zip: {path}', exc_info=e)
if PYTEST:
raise
WORD_SPLITTER = re.compile(r"([\w’'-]+)")