diff --git a/mayan/apps/acls/tests/test_workflow_actions.py b/mayan/apps/acls/tests/test_workflow_actions.py index 4553473ca0..38495adb1a 100644 --- a/mayan/apps/acls/tests/test_workflow_actions.py +++ b/mayan/apps/acls/tests/test_workflow_actions.py @@ -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 ( diff --git a/mayan/apps/cabinets/tests/test_workflow_actions.py b/mayan/apps/cabinets/tests/test_workflow_actions.py index fc82e96b4d..eb010b55c5 100644 --- a/mayan/apps/cabinets/tests/test_workflow_actions.py +++ b/mayan/apps/cabinets/tests/test_workflow_actions.py @@ -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 diff --git a/mayan/apps/ocr/tests/test_events.py b/mayan/apps/ocr/tests/test_events.py index 0310475069..4a4318ec64 100644 --- a/mayan/apps/ocr/tests/test_events.py +++ b/mayan/apps/ocr/tests/test_events.py @@ -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 )