server/test/unittest_ldapsource.py
changeset 9754 54f422ee3deb
parent 9677 f0130c270793
child 9793 52647b05bda8
equal deleted inserted replaced
9753:64d02d18c3c3 9754:54f422ee3deb
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    29 
    29 
    30 from cubicweb import AuthenticationError
    30 from cubicweb import AuthenticationError
    31 from cubicweb.devtools.testlib import CubicWebTC
    31 from cubicweb.devtools.testlib import CubicWebTC
    32 from cubicweb.devtools.repotest import RQLGeneratorTC
    32 from cubicweb.devtools.repotest import RQLGeneratorTC
    33 from cubicweb.devtools.httptest import get_available_port
    33 from cubicweb.devtools.httptest import get_available_port
    34 from cubicweb.devtools import get_test_db_handler
       
    35 
    34 
    36 
    35 
    37 CONFIG_LDAPFEED = u'''
    36 CONFIG_LDAPFEED = u'''
    38 user-base-dn=ou=People,dc=cubicweb,dc=test
    37 user-base-dn=ou=People,dc=cubicweb,dc=test
    39 group-base-dn=ou=Group,dc=cubicweb,dc=test
    38 group-base-dn=ou=Group,dc=cubicweb,dc=test