equal
deleted
inserted
replaced
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' |