File not found error in test - test_document_empty when a storage other than FileSystemStorage is used
On a recent release (3.4.5) there is an added test to the mirroring app - mayan.apps.mirroring.tests.test_filesystems.IndexFilesystemTestCase.test_document_empty
which fails with error as it expects a FileSystemStorage
but in our instance we are using a database storage using -
the django-binary-database-files
to store the files to database
The file not found error below:
File "/usr/src/app/mayan/apps/mirroring/tests/test_filesystems.py", line 81, in test_document_empty
index_filesystem.getattr(
File "/usr/src/app/mayan/apps/mirroring/filesystems.py", line 231, in getattr
raise FuseOSError(ENOENT)
fuse.FuseOSError: [Errno 2] No such file or directory