forked from divio/aldryn-categories
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_settings.py
40 lines (34 loc) · 856 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
37
38
39
40
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
HELPER_SETTINGS = {
'SITE_ID': 1,
'TIME_ZONE': 'Europe/Zurich',
'LANGUAGES': (
('en', 'English'),
('de', 'German'),
('fr', 'French'),
),
'INSTALLED_APPS': [
'parler',
'treebeard',
'aldryn_categories',
],
'PARLER_LANGUAGES': {
1: (
{'code': 'de', },
{'code': 'en', },
{'code': 'fr', },
),
'default': {
# Do not remove or change this value or tests may break.
'hide_untranslated': True,
# Do not remove or change this value or tests may break.
'fallback': 'fr',
}
}
}
def run():
from djangocms_helper import runner
runner.run('aldryn_categories')
if __name__ == "__main__":
run()