Tests: Turn on parsing and OCR

The base test file now turns off OCR, parsing and file metadata
processing. Apps that rely on those must now turn them on
explicitly.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2018-12-14 02:24:56 -04:00
parent feb92a105f
commit b28281be5a
2 changed files with 5 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ TEST_DOCUMENT_CONTENT = 'Sample text'
@override_settings(OCR_AUTO_OCR=False)
@override_settings(DOCUMENT_PARSING_AUTO_PARSING=True)
class DocumentParsingAPITestCase(DocumentTestMixin, BaseAPITestCase):
test_document_filename = TEST_HYBRID_DOCUMENT