server/test/unittest_ldapuser.py
changeset 4531 530a5997d51b
parent 4252 6c4f109c2b03
child 4766 162b2b127b15
equal deleted inserted replaced
4530:a3c1549a68c6 4531:530a5997d51b
    13 from cubicweb.devtools.testlib import CubicWebTC
    13 from cubicweb.devtools.testlib import CubicWebTC
    14 from cubicweb.devtools.repotest import RQLGeneratorTC
    14 from cubicweb.devtools.repotest import RQLGeneratorTC
    15 
    15 
    16 from cubicweb.server.sources.ldapuser import *
    16 from cubicweb.server.sources.ldapuser import *
    17 
    17 
    18 if socket.gethostbyname('ldap').startswith('172'):
    18 if socket.gethostbyname('ldap1').startswith('172'):
    19     SYT = 'syt'
    19     SYT = 'syt'
    20     ADIM = 'adim'
    20     ADIM = 'adim'
    21 else:
    21 else:
    22     SYT = 'sthenault'
    22     SYT = 'sthenault'
    23     ADIM = 'adimascio'
    23     ADIM = 'adimascio'