Преглед на файлове

add special color file for test

Guénaël Muller преди 5 години
родител
ревизия
343858e1a0
променени са 2 файла, в които са добавени 15 реда и са изтрити 0 реда
  1. 6 0
      backend/color-test.json
  2. 9 0
      backend/tests_configs.ini

+ 6 - 0
backend/color-test.json Целия файл

1
+{
2
+  "primary": "#7d4e24",
3
+  "contents/html-document": "#3f52e3",
4
+  "contents/thread": "#ad4cf9",
5
+  "contents/file": "#ff9900"
6
+}

+ 9 - 0
backend/tests_configs.ini Целия файл

5
 user.auth_token.validity = 604800
5
 user.auth_token.validity = 604800
6
 preview_cache_dir = /tmp/test/preview_cache
6
 preview_cache_dir = /tmp/test/preview_cache
7
 website.base_url = http://localhost:6543
7
 website.base_url = http://localhost:6543
8
+color.config_file_path = %(here)s/color-test.json
9
+
8
 [app:command_test]
10
 [app:command_test]
9
 use = egg:tracim_backend
11
 use = egg:tracim_backend
10
 sqlalchemy.url = sqlite:///tracim_test.sqlite
12
 sqlalchemy.url = sqlite:///tracim_test.sqlite
13
 user.auth_token.validity = 604800
15
 user.auth_token.validity = 604800
14
 preview_cache_dir = /tmp/test/preview_cache
16
 preview_cache_dir = /tmp/test/preview_cache
15
 website.base_url = http://localhost:6543
17
 website.base_url = http://localhost:6543
18
+color.config_file_path = %(here)s/color-test.json
16
 
19
 
17
 [mail_test]
20
 [mail_test]
18
 sqlalchemy.url = sqlite:///:memory:
21
 sqlalchemy.url = sqlite:///:memory:
39
 email.notification.smtp.user = test_user
42
 email.notification.smtp.user = test_user
40
 email.notification.smtp.password = just_a_password
43
 email.notification.smtp.password = just_a_password
41
 website.base_url = http://localhost:6543
44
 website.base_url = http://localhost:6543
45
+color.config_file_path = %(here)s/color-test.json
42
 
46
 
43
 [mail_test_async]
47
 [mail_test_async]
44
 sqlalchemy.url = sqlite:///:memory:
48
 sqlalchemy.url = sqlite:///:memory:
66
 email.notification.smtp.user = test_user
70
 email.notification.smtp.user = test_user
67
 email.notification.smtp.password = just_a_password
71
 email.notification.smtp.password = just_a_password
68
 website.base_url = http://localhost:6543
72
 website.base_url = http://localhost:6543
73
+color.config_file_path = %(here)s/color-test.json
69
 
74
 
70
 [functional_test]
75
 [functional_test]
71
 sqlalchemy.url = sqlite:///tracim_test.sqlite
76
 sqlalchemy.url = sqlite:///tracim_test.sqlite
76
 preview.jpg.restricted_dims = True
81
 preview.jpg.restricted_dims = True
77
 email.notification.activated = false
82
 email.notification.activated = false
78
 website.base_url = http://localhost:6543
83
 website.base_url = http://localhost:6543
84
+color.config_file_path = %(here)s/color-test.json
79
 
85
 
80
 [functional_test_no_db]
86
 [functional_test_no_db]
81
 sqlalchemy.url = sqlite://
87
 sqlalchemy.url = sqlite://
86
 preview.jpg.restricted_dims = True
92
 preview.jpg.restricted_dims = True
87
 email.notification.activated = false
93
 email.notification.activated = false
88
 website.base_url = http://localhost:6543
94
 website.base_url = http://localhost:6543
95
+color.config_file_path = %(here)s/color-test.json
89
 
96
 
90
 [functional_test_with_mail_test_sync]
97
 [functional_test_with_mail_test_sync]
91
 sqlalchemy.url = sqlite:///tracim_test.sqlite
98
 sqlalchemy.url = sqlite:///tracim_test.sqlite
111
 email.notification.smtp.user = test_user
118
 email.notification.smtp.user = test_user
112
 email.notification.smtp.password = just_a_password
119
 email.notification.smtp.password = just_a_password
113
 website.base_url = http://localhost:6543
120
 website.base_url = http://localhost:6543
121
+color.config_file_path = %(here)s/color-test.json
114
 
122
 
115
 [functional_test_with_mail_test_async]
123
 [functional_test_with_mail_test_async]
116
 sqlalchemy.url = sqlite:///tracim_test.sqlite
124
 sqlalchemy.url = sqlite:///tracim_test.sqlite
136
 email.notification.smtp.user = test_user
144
 email.notification.smtp.user = test_user
137
 email.notification.smtp.password = just_a_password
145
 email.notification.smtp.password = just_a_password
138
 website.base_url = http://localhost:6543
146
 website.base_url = http://localhost:6543
147
+color.config_file_path = %(here)s/color-test.json