Export the document test mixins via the tests top level __init__

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-08-21 18:43:01 -04:00
parent 78c374dfe6
commit bf7c9fc0fd
2 changed files with 3 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
from .base import GenericDocumentTestCase, GenericDocumentViewTestCase # NOQA
from .literals import * # NOQA
from .mixins import * # NOQA

View File

@@ -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