Remove tests * imports
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -5,8 +5,8 @@ from rest_framework import status
|
||||
from mayan.apps.documents.permissions import (
|
||||
permission_document_type_edit, permission_document_type_view
|
||||
)
|
||||
from mayan.apps.documents.tests import DocumentTestMixin
|
||||
from mayan.apps.rest_api.tests import BaseAPITestCase
|
||||
from mayan.apps.documents.tests.mixins import DocumentTestMixin
|
||||
from mayan.apps.rest_api.tests.base import BaseAPITestCase
|
||||
|
||||
from ..models import DocumentTypeMetadataType, MetadataType
|
||||
from ..permissions import (
|
||||
|
||||
@@ -2,7 +2,7 @@ from __future__ import unicode_literals
|
||||
|
||||
from actstream.models import Action
|
||||
|
||||
from mayan.apps.common.tests import GenericViewTestCase
|
||||
from mayan.apps.common.tests.base import GenericViewTestCase
|
||||
|
||||
from ..events import (
|
||||
event_metadata_type_created, event_metadata_type_edited
|
||||
|
||||
@@ -3,11 +3,10 @@ from __future__ import unicode_literals
|
||||
|
||||
from django.core.exceptions import ValidationError
|
||||
|
||||
from mayan.apps.common.tests import BaseTestCase
|
||||
from mayan.apps.common.tests.base import BaseTestCase
|
||||
from mayan.apps.documents.models import DocumentType
|
||||
from mayan.apps.documents.tests import (
|
||||
DocumentTestMixin, TEST_DOCUMENT_TYPE_2_LABEL
|
||||
)
|
||||
from mayan.apps.documents.tests.literals import TEST_DOCUMENT_TYPE_2_LABEL
|
||||
from mayan.apps.documents.tests.mixins import DocumentTestMixin
|
||||
|
||||
from ..models import DocumentMetadata
|
||||
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from mayan.apps.common.tests import GenericViewTestCase
|
||||
from mayan.apps.common.tests.base import GenericViewTestCase
|
||||
from mayan.apps.documents.models import DocumentType
|
||||
from mayan.apps.documents.permissions import (
|
||||
permission_document_properties_edit, permission_document_type_edit,
|
||||
permission_document_view
|
||||
)
|
||||
from mayan.apps.documents.tests import (
|
||||
GenericDocumentViewTestCase, TEST_DOCUMENT_TYPE_2_LABEL
|
||||
)
|
||||
from mayan.apps.documents.tests.base import GenericDocumentViewTestCase
|
||||
from mayan.apps.documents.tests.literals import TEST_DOCUMENT_TYPE_2_LABEL
|
||||
|
||||
from ..models import MetadataType
|
||||
from ..permissions import (
|
||||
|
||||
@@ -5,9 +5,8 @@ from django.urls import reverse
|
||||
from mayan.apps.common.http import URL
|
||||
from mayan.apps.documents.models import Document
|
||||
from mayan.apps.documents.permissions import permission_document_create
|
||||
from mayan.apps.documents.tests import (
|
||||
GenericDocumentViewTestCase, TEST_SMALL_DOCUMENT_PATH,
|
||||
)
|
||||
from mayan.apps.documents.tests.base import GenericDocumentViewTestCase
|
||||
from mayan.apps.documents.tests.literals import TEST_SMALL_DOCUMENT_PATH
|
||||
from mayan.apps.sources.models import WebFormSource
|
||||
from mayan.apps.sources.tests.literals import (
|
||||
TEST_SOURCE_LABEL, TEST_SOURCE_UNCOMPRESS_N,
|
||||
|
||||
Reference in New Issue
Block a user