From bf7c9fc0fda934ce40a1b31476cc5b276d351900 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 21 Aug 2018 18:43:01 -0400 Subject: [PATCH] Export the document test mixins via the tests top level __init__ Signed-off-by: Roberto Rosario --- mayan/apps/documents/tests/__init__.py | 1 + mayan/apps/documents/tests/mixins.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/mayan/apps/documents/tests/__init__.py b/mayan/apps/documents/tests/__init__.py index 57c2836216..c1f93fb9de 100644 --- a/mayan/apps/documents/tests/__init__.py +++ b/mayan/apps/documents/tests/__init__.py @@ -1,2 +1,3 @@ from .base import GenericDocumentTestCase, GenericDocumentViewTestCase # NOQA from .literals import * # NOQA +from .mixins import * # NOQA diff --git a/mayan/apps/documents/tests/mixins.py b/mayan/apps/documents/tests/mixins.py index 13e51c08c0..e56b0d5577 100644 --- a/mayan/apps/documents/tests/mixins.py +++ b/mayan/apps/documents/tests/mixins.py @@ -8,6 +8,8 @@ from ..models import DocumentType from .literals import TEST_DOCUMENT_TYPE_LABEL, TEST_SMALL_DOCUMENT_FILENAME +__all__ = ('DocumentTestMixin',) + class DocumentTestMixin(object): auto_create_document_type = True