forked from divio/aldryn-apphooks-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest_settings.py
36 lines (31 loc) · 865 Bytes
/
test_settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
HELPER_SETTINGS = dict(
TIME_ZONE='Europe/Zurich',
LANGUAGES=(
('en', 'English'),
('de', 'German'),
),
PARLER_LANGUAGES={
None: (
{'code': 'en', },
{'code': 'de', },
),
'default': {
'fallback': 'en', # defaults to PARLER_DEFAULT_LANGUAGE_CODE
# the default; let .active_translations() return fallbacks too.
'hide_untranslated': False,
}
},
INSTALLED_APPS=[
'app_data',
'cms.test_utils.project.sampleapp',
'aldryn_apphooks_config.tests.utils.example',
'parler'
],
)
def run():
from djangocms_helper import runner
runner.cms('aldryn_apphooks_config')
if __name__ == '__main__':
run()