浏览代码

fixes defaut database configuration for tests

Damien ACCORSI 9 年前
父节点
当前提交
4fafab8d92
共有 1 个文件被更改,包括 4 次插入3 次删除
  1. 4 3
      tracim/test.ini

+ 4 - 3
tracim/test.ini 查看文件

19
 port = 8080
19
 port = 8080
20
 
20
 
21
 [app:main]
21
 [app:main]
22
-sqlalchemy.url = mysql+oursql://tracim:tracim@localhost/tracim_test
22
+sqlalchemy.url = postgresql://postgres:dummy@127.0.0.1:5432/tracim_test?client_encoding=utf8
23
 use = config:development.ini
23
 use = config:development.ini
24
 
24
 
25
 [app:main_without_authn]
25
 [app:main_without_authn]
27
 skip_authentication = True
27
 skip_authentication = True
28
 
28
 
29
 [app:ldap]
29
 [app:ldap]
30
-sqlalchemy.url = mysql+oursql://tracim:tracim@localhost/tracim_test
30
+sqlalchemy.url = postgresql://postgres:dummy@127.0.0.1:5432/tracim_test?client_encoding=utf8
31
 auth_type = ldap
31
 auth_type = ldap
32
 ldap_url = ldap://localhost:3333
32
 ldap_url = ldap://localhost:3333
33
 ldap_base_dn = dc=directory,dc=fsf,dc=org
33
 ldap_base_dn = dc=directory,dc=fsf,dc=org
40
 use = config:development.ini
40
 use = config:development.ini
41
 
41
 
42
 [app:radicale]
42
 [app:radicale]
43
-sqlalchemy.url = mysql+oursql://tracim:tracim@localhost/tracim_test
43
+sqlalchemy.url = postgresql://postgres:dummy@127.0.0.1:5432/tracim_test?client_encoding=utf8
44
+
44
 use = config:development.ini
45
 use = config:development.ini
45
 
46
 
46
 # Add additional test specific configuration options as necessary.
47
 # Add additional test specific configuration options as necessary.