fix ldap test, our ldap server name has changed
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 10 Feb 2010 08:06:02 +0100
changeset 4531 530a5997d51b
parent 4530 a3c1549a68c6
child 4532 85116e75f561
fix ldap test, our ldap server name has changed
server/test/data/sourcesldap
server/test/unittest_ldapuser.py
--- a/server/test/data/sourcesldap	Wed Feb 10 08:05:43 2010 +0100
+++ b/server/test/data/sourcesldap	Wed Feb 10 08:06:02 2010 +0100
@@ -20,7 +20,7 @@
 [ldapuser]
 adapter=ldapuser
 # ldap host
-host=ldap
+host=ldap1
 # base DN to lookup for usres
 user-base-dn=ou=People,dc=logilab,dc=fr
 # user search scope
--- a/server/test/unittest_ldapuser.py	Wed Feb 10 08:05:43 2010 +0100
+++ b/server/test/unittest_ldapuser.py	Wed Feb 10 08:06:02 2010 +0100
@@ -15,7 +15,7 @@
 
 from cubicweb.server.sources.ldapuser import *
 
-if socket.gethostbyname('ldap').startswith('172'):
+if socket.gethostbyname('ldap1').startswith('172'):
     SYT = 'syt'
     ADIM = 'adim'
 else: