From b6e058ec8a430afd8983abe3a02f58341b36f974 Mon Sep 17 00:00:00 2001 From: stroeder Date: Fri, 28 Apr 2017 07:30:58 +0000 Subject: [PATCH] unified module __doc__ and encoding declaration --- Lib/slapdtest.py | 3 ++- Tests/__init__.py | 7 ++++++- Tests/t_cext.py | 7 ++++++- Tests/t_ldap_dn.py | 6 +++++- Tests/t_ldap_filter.py | 6 +++++- Tests/t_ldap_functions.py | 6 +++++- Tests/t_ldap_modlist.py | 8 +++++++- Tests/t_ldap_schema_subentry.py | 7 ++++++- Tests/t_ldap_schema_tokenizer.py | 7 ++++++- Tests/t_ldapobject.py | 7 ++++++- Tests/t_ldapurl.py | 9 +++++++++ 11 files changed, 63 insertions(+), 10 deletions(-) diff --git a/Lib/slapdtest.py b/Lib/slapdtest.py index ce015fc..ee32814 100644 --- a/Lib/slapdtest.py +++ b/Lib/slapdtest.py @@ -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 diff --git a/Tests/__init__.py b/Tests/__init__.py index e17e215..cd0b8d8 100644 --- a/Tests/__init__.py +++ b/Tests/__init__.py @@ -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 diff --git a/Tests/t_cext.py b/Tests/t_cext.py index 173c28d..cde242a 100644 --- a/Tests/t_cext.py +++ b/Tests/t_cext.py @@ -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 diff --git a/Tests/t_ldap_dn.py b/Tests/t_ldap_dn.py index ee47e07..df18f03 100644 --- a/Tests/t_ldap_dn.py +++ b/Tests/t_ldap_dn.py @@ -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 diff --git a/Tests/t_ldap_filter.py b/Tests/t_ldap_filter.py index 2fe1f2f..60041cb 100644 --- a/Tests/t_ldap_filter.py +++ b/Tests/t_ldap_filter.py @@ -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 diff --git a/Tests/t_ldap_functions.py b/Tests/t_ldap_functions.py index 6947352..ac5f3b3 100644 --- a/Tests/t_ldap_functions.py +++ b/Tests/t_ldap_functions.py @@ -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 diff --git a/Tests/t_ldap_modlist.py b/Tests/t_ldap_modlist.py index 3d24a70..04a913b 100644 --- a/Tests/t_ldap_modlist.py +++ b/Tests/t_ldap_modlist.py @@ -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 diff --git a/Tests/t_ldap_schema_subentry.py b/Tests/t_ldap_schema_subentry.py index e24f1db..3131969 100644 --- a/Tests/t_ldap_schema_subentry.py +++ b/Tests/t_ldap_schema_subentry.py @@ -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 diff --git a/Tests/t_ldap_schema_tokenizer.py b/Tests/t_ldap_schema_tokenizer.py index a574db9..2ba50ab 100644 --- a/Tests/t_ldap_schema_tokenizer.py +++ b/Tests/t_ldap_schema_tokenizer.py @@ -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 diff --git a/Tests/t_ldapobject.py b/Tests/t_ldapobject.py index 4795ac4..fbd69d0 100644 --- a/Tests/t_ldapobject.py +++ b/Tests/t_ldapobject.py @@ -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 diff --git a/Tests/t_ldapurl.py b/Tests/t_ldapurl.py index 9d78f6f..0e99244 100644 --- a/Tests/t_ldapurl.py +++ b/Tests/t_ldapurl.py @@ -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