Instead of inserting the path of the apps into the Python app, the apps are now referenced by their full import path. This solves name clashes with external or native Python libraries. Example: Mayan statistics app vs. Python new statistics library. Every app reference is now prepended with 'mayan.apps'. Existing config.yml files need to be updated manually. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
19 lines
776 B
Python
19 lines
776 B
Python
from __future__ import unicode_literals
|
|
|
|
TEST_BODY_HTML = '<strong>test body</strong>'
|
|
TEST_EMAIL_ADDRESS = 'test@example.com'
|
|
TEST_RECIPIENTS_MULTIPLE_COMMA = 'test@example.com,test2@example.com'
|
|
TEST_RECIPIENTS_MULTIPLE_COMMA_RESULT = [
|
|
'test@example.com', 'test2@example.com'
|
|
]
|
|
TEST_RECIPIENTS_MULTIPLE_SEMICOLON = 'test@example.com;test2@example.com'
|
|
TEST_RECIPIENTS_MULTIPLE_SEMICOLON_RESULT = [
|
|
'test@example.com', 'test2@example.com'
|
|
]
|
|
TEST_RECIPIENTS_MULTIPLE_MIXED = 'test@example.com,test2@example.com;test2@example.com'
|
|
TEST_RECIPIENTS_MULTIPLE_MIXED_RESULT = [
|
|
'test@example.com', 'test2@example.com', 'test2@example.com'
|
|
]
|
|
TEST_USER_MAILER_BACKEND_PATH = 'mayan.apps.mailer.tests.mailers.TestBackend'
|
|
TEST_USER_MAILER_LABEL = 'test user mailer label'
|