Move setting to the storage app
The setting COMMON_TEMPORARY_DIRECTORY is now STORAGE_TEMPORARY_DIRECTORY. Move file related utilities to the storage app. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -8,7 +8,6 @@ from pathlib2 import Path
|
||||
from django.test import override_settings
|
||||
from django.utils.encoding import force_text
|
||||
|
||||
from mayan.apps.common.utils import mkdtemp
|
||||
from mayan.apps.common.tests import BaseTestCase
|
||||
from mayan.apps.documents.models import Document, DocumentType
|
||||
from mayan.apps.documents.tests import (
|
||||
@@ -17,6 +16,7 @@ from mayan.apps.documents.tests import (
|
||||
TEST_NON_ASCII_COMPRESSED_DOCUMENT_PATH
|
||||
)
|
||||
from mayan.apps.metadata.models import MetadataType
|
||||
from mayan.apps.storage.utils import mkdtemp
|
||||
|
||||
from ..literals import SOURCE_UNCOMPRESS_CHOICE_Y
|
||||
from ..models import POP3Email, WatchFolderSource, WebFormSource
|
||||
|
||||
Reference in New Issue
Block a user