Tests: Remove unused override_settings

Now that the automatic OCR, parsing and file metadata processing
are turned off by the test setting file, these overrides in the
tests are not needed anymore.

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2018-12-14 03:12:42 -04:00
parent 46c2192d9a
commit 34443a715c
35 changed files with 0 additions and 108 deletions

View File

@@ -1,7 +1,5 @@
from __future__ import absolute_import, unicode_literals
from django.test import override_settings
from rest_framework import status
from mayan.apps.documents.models import DocumentType
@@ -28,7 +26,6 @@ from .literals import (
)
@override_settings(OCR_AUTO_OCR=False)
class WorkflowAPITestCase(BaseAPITestCase):
def setUp(self):
super(WorkflowAPITestCase, self).setUp()
@@ -362,7 +359,6 @@ class WorkflowAPITestCase(BaseAPITestCase):
self.assertEqual(response.data['results'][0]['label'], self.workflow.label)
@override_settings(OCR_AUTO_OCR=False)
class WorkflowStatesAPITestCase(BaseAPITestCase):
def setUp(self):
super(WorkflowStatesAPITestCase, self).setUp()
@@ -538,7 +534,6 @@ class WorkflowStatesAPITestCase(BaseAPITestCase):
)
@override_settings(OCR_AUTO_OCR=False)
class WorkflowTransitionsAPITestCase(BaseAPITestCase):
def setUp(self):
super(WorkflowTransitionsAPITestCase, self).setUp()
@@ -774,7 +769,6 @@ class WorkflowTransitionsAPITestCase(BaseAPITestCase):
)
@override_settings(OCR_AUTO_OCR=False)
class DocumentWorkflowsAPITestCase(BaseAPITestCase):
def setUp(self):
super(DocumentWorkflowsAPITestCase, self).setUp()