Skip to content

Commit

Permalink
unified module __doc__ and encoding declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
stroeder committed Apr 28, 2017
1 parent 2afdc24 commit b6e058e
Show file tree
Hide file tree
Showing 11 changed files with 63 additions and 10 deletions.
3 changes: 2 additions & 1 deletion Lib/slapdtest.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# -*- coding: utf-8 -*-
"""
slapdtest - module for spawning test instances of OpenLDAP's slapd server
See http://www.python-ldap.org/ for details.
\$Id: slapdtest.py,v 1.8 2017/04/28 06:34:20 stroeder Exp $
\$Id: slapdtest.py,v 1.9 2017/04/28 07:30:58 stroeder Exp $
Python compability note:
This module only works with Python 2.7.x since
Expand Down
7 changes: 6 additions & 1 deletion Tests/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-
"""
python-ldap tests module package
Automatic tests for python-ldap
See http://www.python-ldap.org/ for details.
$Id: __init__.py,v 1.5 2017/04/28 07:30:59 stroeder Exp $
"""

import t_cext
Expand Down
7 changes: 6 additions & 1 deletion Tests/t_cext.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-
"""
Tests the LDAP C Extension module called _ldap
Automatic tests for python-ldap's C wrapper module _ldap
See http://www.python-ldap.org/ for details.
$Id: t_cext.py,v 1.22 2017/04/28 07:30:59 stroeder Exp $
"""

import os
Expand Down
6 changes: 5 additions & 1 deletion Tests/t_ldap_dn.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-
"""
Automatic tests for module ldap.dn
Automatic tests for python-ldap's module ldap.dn
See http://www.python-ldap.org/ for details.
$Id: t_ldap_dn.py,v 1.4 2017/04/28 07:30:59 stroeder Exp $
"""

# from Python's standard lib
Expand Down
6 changes: 5 additions & 1 deletion Tests/t_ldap_filter.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-
"""
Automatic tests for module ldap.filter
Automatic tests for python-ldap's module ldap.filter
See http://www.python-ldap.org/ for details.
$Id: t_ldap_filter.py,v 1.3 2017/04/28 07:30:59 stroeder Exp $
"""

# from Python's standard lib
Expand Down
6 changes: 5 additions & 1 deletion Tests/t_ldap_functions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-
"""
Automatic tests for module ldap.functions
Automatic tests for python-ldap's module ldap.functions
See http://www.python-ldap.org/ for details.
$Id: t_ldap_functions.py,v 1.2 2017/04/28 07:30:59 stroeder Exp $
"""

# from Python's standard lib
Expand Down
8 changes: 7 additions & 1 deletion Tests/t_ldap_modlist.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# -*- coding: utf-8 -*-
"""
Tests for module ldap.modlist
Automatic tests for python-ldap's module ldap.modlist
See http://www.python-ldap.org/ for details.
$Id: t_ldap_modlist.py,v 1.2 2017/04/28 07:30:59 stroeder Exp $
"""

import unittest

import ldap
Expand Down
7 changes: 6 additions & 1 deletion Tests/t_ldap_schema_subentry.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-
"""
test class ldap.schema.SubSchema
Automatic tests for python-ldap's class ldap.schema.SubSchema
See http://www.python-ldap.org/ for details.
$Id: t_ldap_schema_subentry.py,v 1.2 2017/04/28 07:30:59 stroeder Exp $
"""

import unittest
Expand Down
7 changes: 6 additions & 1 deletion Tests/t_ldap_schema_tokenizer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-
"""
test module ldap.schema.tokenizer
Automatic tests for python-ldap's module ldap.schema.tokenizer
See http://www.python-ldap.org/ for details.
$Id: t_ldap_schema_tokenizer.py,v 1.10 2017/04/28 07:30:59 stroeder Exp $
"""

import unittest
Expand Down
7 changes: 6 additions & 1 deletion Tests/t_ldapobject.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# -*- coding: utf-8 -*-
"""
test LDAP operations with ldap.ldapobject
Automatic tests for python-ldap's module ldap.ldapobject
See http://www.python-ldap.org/ for details.
$Id: t_ldapobject.py,v 1.7 2017/04/28 07:30:59 stroeder Exp $
"""

import os
Expand Down
9 changes: 9 additions & 0 deletions Tests/t_ldapurl.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# -*- coding: utf-8 -*-
"""
Automatic tests for python-ldap's module ldapurl
See http://www.python-ldap.org/ for details.
$Id: t_ldapurl.py,v 1.12 2017/04/28 07:30:59 stroeder Exp $
"""

import unittest
import urllib

Expand Down

0 comments on commit b6e058e

Please sign in to comment.