From a9597c81dd4abcdc6611fd00c9ca39fc54584c7d Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Thu, 16 Feb 2017 22:10:31 -0400 Subject: [PATCH] Add missing setUp call to the text extractor test case. --- mayan/apps/ocr/tests/test_parsers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/apps/ocr/tests/test_parsers.py b/mayan/apps/ocr/tests/test_parsers.py index 17e23ee80c..e846ff5271 100644 --- a/mayan/apps/ocr/tests/test_parsers.py +++ b/mayan/apps/ocr/tests/test_parsers.py @@ -52,6 +52,8 @@ class ParserTestCase(BaseTestCase): @override_settings(OCR_AUTO_OCR=False) class TextExtractorTestCase(BaseTestCase): def setUp(self): + super(TextExtractorTestCase, self).setUp() + self.document_type = DocumentType.objects.create( label=TEST_DOCUMENT_TYPE )