Test simplification
Unify usage of self.test_document and self.test_documents in tests. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -20,7 +20,7 @@ class DocumentOCRTestCase(DocumentTestMixin, BaseTestCase):
|
||||
_skip_file_descriptor_test = True
|
||||
|
||||
def test_ocr_language_backends_end(self):
|
||||
content = self.document.pages.first().ocr_content.content
|
||||
content = self.test_document.pages.first().ocr_content.content
|
||||
self.assertTrue(TEST_DOCUMENT_CONTENT in content)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user