cubicweb/server/test/unittest_ldapsource.py
changeset 11767 432f87a63057
parent 11764 6ab14a1afb65
child 12027 c62c80f20a82
equal deleted inserted replaced
11766:d8de1ac21f36 11767:432f87a63057
     1 # copyright 2003-2014 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2016 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
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    17 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    18 """cubicweb.server.sources.ldapfeed unit and functional tests
    18 """cubicweb.server.sources.ldapfeed unit and functional tests
    19 
    19 
    20 Those tests expect to have slapd, python-ldap3 and ldapscripts packages installed.
    20 Those tests expect to have slapd, python-ldap3 and ldapscripts packages installed.
    21 """
    21 """
       
    22 
    22 from __future__ import print_function
    23 from __future__ import print_function
    23 
    24 
    24 import os
    25 import os
    25 import sys
    26 import sys
    26 import shutil
    27 import shutil