Fix failing tests
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||
|
||||
from django.contrib.contenttypes.models import ContentType
|
||||
|
||||
from mayan.apps.document_states.tests.test_actions import ActionTestCase
|
||||
from mayan.apps.document_states.tests.test_workflow_actions import ActionTestCase
|
||||
from mayan.apps.documents.permissions import permission_document_view
|
||||
|
||||
from ..workflow_actions import (
|
||||
|
||||
@@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||
|
||||
from mayan.apps.common.tests import GenericViewTestCase
|
||||
from mayan.apps.document_states.tests.mixins import WorkflowTestMixin
|
||||
from mayan.apps.document_states.tests.test_actions import ActionTestCase
|
||||
from mayan.apps.document_states.tests.test_workflow_actions import ActionTestCase
|
||||
|
||||
from ..models import Cabinet
|
||||
from ..workflow_actions import CabinetAddAction, CabinetRemoveAction
|
||||
|
||||
@@ -14,7 +14,7 @@ from ..models import DocumentPageOCRContent
|
||||
class OCREventsTestCase(GenericDocumentTestCase):
|
||||
def test_document_content_deleted_event(self):
|
||||
Action.objects.all().delete()
|
||||
DocumentPageOCRContent.objects.delete_ocr_content_for(
|
||||
DocumentPageOCRContent.objects.delete_content_for(
|
||||
document=self.test_document
|
||||
)
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||
|
||||
from mayan.apps.common.tests import GenericViewTestCase
|
||||
from mayan.apps.document_states.tests.mixins import WorkflowTestMixin
|
||||
from mayan.apps.document_states.tests.test_actions import ActionTestCase
|
||||
from mayan.apps.document_states.tests.test_workflow_actions import ActionTestCase
|
||||
|
||||
from ..models import Tag
|
||||
from ..workflow_actions import AttachTagAction, RemoveTagAction
|
||||
|
||||
Reference in New Issue
Block a user