Browse Source

fixes defaut database configuration for tests

Damien ACCORSI 8 years ago
parent
commit
4fafab8d92
1 changed files with 4 additions and 3 deletions
  1. 4 3
      tracim/test.ini

+ 4 - 3
tracim/test.ini View File

@@ -19,7 +19,7 @@ host = 127.0.0.1
19 19
 port = 8080
20 20
 
21 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 23
 use = config:development.ini
24 24
 
25 25
 [app:main_without_authn]
@@ -27,7 +27,7 @@ use = main
27 27
 skip_authentication = True
28 28
 
29 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 31
 auth_type = ldap
32 32
 ldap_url = ldap://localhost:3333
33 33
 ldap_base_dn = dc=directory,dc=fsf,dc=org
@@ -40,7 +40,8 @@ ldap_group_enabled = False
40 40
 use = config:development.ini
41 41
 
42 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 45
 use = config:development.ini
45 46
 
46 47
 # Add additional test specific configuration options as necessary.