summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-05 16:56:27 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-05 17:27:05 +0100
commit52d64c53b9ac2abd25c4411b2bcb770e6ab89632 (patch)
treea5e835176c27c599396d3bc74d51ec5d9cb145a8
parent496ef92b09180cb13ddf0b29fd90abdf72c7a423 (diff)
downloadsamba-52d64c53b9ac2abd25c4411b2bcb770e6ab89632.tar.gz
samba-52d64c53b9ac2abd25c4411b2bcb770e6ab89632.tar.bz2
samba-52d64c53b9ac2abd25c4411b2bcb770e6ab89632.zip
s4-python: Add some more module docstrings.
-rw-r--r--source4/scripting/python/samba/tests/dsdb.py2
-rw-r--r--source4/scripting/python/samba/tests/hostconfig.py3
-rw-r--r--source4/scripting/python/samba/tests/messaging.py2
-rw-r--r--source4/scripting/python/samba/tests/netcmd.py2
-rw-r--r--source4/scripting/python/samba/tests/ntacls.py2
-rw-r--r--source4/scripting/python/samba/tests/param.py2
-rw-r--r--source4/scripting/python/samba/tests/provision.py2
-rw-r--r--source4/scripting/python/samba/tests/registry.py2
-rw-r--r--source4/scripting/python/samba/tests/samba3.py2
-rw-r--r--source4/scripting/python/samba/tests/samdb.py3
-rw-r--r--source4/scripting/python/samba/tests/security.py2
-rw-r--r--source4/scripting/python/samba/tests/upgrade.py2
-rw-r--r--source4/scripting/python/samba/tests/upgradeprovision.py2
-rw-r--r--source4/scripting/python/samba/tests/upgradeprovisionneeddc.py2
-rw-r--r--source4/scripting/python/samba/tests/xattr.py2
-rwxr-xr-xsource4/scripting/python/samba/upgradehelpers.py1
16 files changed, 33 insertions, 0 deletions
diff --git a/source4/scripting/python/samba/tests/dsdb.py b/source4/scripting/python/samba/tests/dsdb.py
index 4a50c96e25..d4331f3ef5 100644
--- a/source4/scripting/python/samba/tests/dsdb.py
+++ b/source4/scripting/python/samba/tests/dsdb.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dsdb."""
+
from samba.credentials import Credentials
from samba.samdb import SamDB
from samba.auth import system_session
diff --git a/source4/scripting/python/samba/tests/hostconfig.py b/source4/scripting/python/samba/tests/hostconfig.py
index 6f5f7f7c73..78ca6202b2 100644
--- a/source4/scripting/python/samba/tests/hostconfig.py
+++ b/source4/scripting/python/samba/tests/hostconfig.py
@@ -16,6 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+
+"""Tests for samba.hostconfig."""
+
from samba.hostconfig import SharesContainer
from samba.tests import TestCase
diff --git a/source4/scripting/python/samba/tests/messaging.py b/source4/scripting/python/samba/tests/messaging.py
index 91cf024555..d2a0b73775 100644
--- a/source4/scripting/python/samba/tests/messaging.py
+++ b/source4/scripting/python/samba/tests/messaging.py
@@ -18,6 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.messaging."""
+
from samba.messaging import Messaging
from samba.tests import TestCase
diff --git a/source4/scripting/python/samba/tests/netcmd.py b/source4/scripting/python/samba/tests/netcmd.py
index 4d83f2e781..787bcd5a72 100644
--- a/source4/scripting/python/samba/tests/netcmd.py
+++ b/source4/scripting/python/samba/tests/netcmd.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.netcmd."""
+
from samba.netcmd import Command
import samba.tests
diff --git a/source4/scripting/python/samba/tests/ntacls.py b/source4/scripting/python/samba/tests/ntacls.py
index 06fa1d8f83..2d8d6b9d67 100644
--- a/source4/scripting/python/samba/tests/ntacls.py
+++ b/source4/scripting/python/samba/tests/ntacls.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.ntacls."""
+
from samba.ntacls import setntacl, getntacl, XattrBackendError
from samba.dcerpc import xattr, security
from samba.param import LoadParm
diff --git a/source4/scripting/python/samba/tests/param.py b/source4/scripting/python/samba/tests/param.py
index 34d6544e3c..7848e1c23b 100644
--- a/source4/scripting/python/samba/tests/param.py
+++ b/source4/scripting/python/samba/tests/param.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.param."""
+
from samba import param
import samba.tests
diff --git a/source4/scripting/python/samba/tests/provision.py b/source4/scripting/python/samba/tests/provision.py
index 58bb030568..29287ff3f2 100644
--- a/source4/scripting/python/samba/tests/provision.py
+++ b/source4/scripting/python/samba/tests/provision.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.provision."""
+
import os
from samba.provision import setup_secretsdb, findnss, ProvisionPaths
import samba.tests
diff --git a/source4/scripting/python/samba/tests/registry.py b/source4/scripting/python/samba/tests/registry.py
index d01ebff909..97926850d2 100644
--- a/source4/scripting/python/samba/tests/registry.py
+++ b/source4/scripting/python/samba/tests/registry.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.registry."""
+
import os
from samba import registry
import samba.tests
diff --git a/source4/scripting/python/samba/tests/samba3.py b/source4/scripting/python/samba/tests/samba3.py
index 1a85082af9..c55de8b521 100644
--- a/source4/scripting/python/samba/tests/samba3.py
+++ b/source4/scripting/python/samba/tests/samba3.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.samba3."""
+
from samba.samba3 import (GroupMappingDatabase, Registry, PolicyDatabase,
SecretsDatabase, TdbSam)
from samba.samba3 import (WinsDatabase, SmbpasswdFile, ACB_NORMAL,
diff --git a/source4/scripting/python/samba/tests/samdb.py b/source4/scripting/python/samba/tests/samdb.py
index 1536f163d1..cedb0d0baf 100644
--- a/source4/scripting/python/samba/tests/samdb.py
+++ b/source4/scripting/python/samba/tests/samdb.py
@@ -16,6 +16,9 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+
+"""Tests for samba.samdb."""
+
import logging
import os
import uuid
diff --git a/source4/scripting/python/samba/tests/security.py b/source4/scripting/python/samba/tests/security.py
index 22f7df6b1c..59e3113068 100644
--- a/source4/scripting/python/samba/tests/security.py
+++ b/source4/scripting/python/samba/tests/security.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dcerpc.security."""
+
import samba.tests
from samba.dcerpc import security
diff --git a/source4/scripting/python/samba/tests/upgrade.py b/source4/scripting/python/samba/tests/upgrade.py
index f49a0c5530..16ccbd567e 100644
--- a/source4/scripting/python/samba/tests/upgrade.py
+++ b/source4/scripting/python/samba/tests/upgrade.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.upgrade."""
+
from samba.upgrade import import_wins
from samba.tests import LdbTestCase
diff --git a/source4/scripting/python/samba/tests/upgradeprovision.py b/source4/scripting/python/samba/tests/upgradeprovision.py
index c819397513..50dcfeb00c 100644
--- a/source4/scripting/python/samba/tests/upgradeprovision.py
+++ b/source4/scripting/python/samba/tests/upgradeprovision.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.upgradeprovision."""
+
import os
from samba.upgradehelpers import (usn_in_range, dn_sort,
get_diff_sddls, update_secrets,
diff --git a/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py b/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py
index d4d6b84fbd..3a9c78e0dc 100644
--- a/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py
+++ b/source4/scripting/python/samba/tests/upgradeprovisionneeddc.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.upgradeprovision that need a DC."""
+
import os
import re
import shutil
diff --git a/source4/scripting/python/samba/tests/xattr.py b/source4/scripting/python/samba/tests/xattr.py
index ad35b5156d..f978ee5b2a 100644
--- a/source4/scripting/python/samba/tests/xattr.py
+++ b/source4/scripting/python/samba/tests/xattr.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.xattr_native and samba.xattr_tdb."""
+
import samba.xattr_native, samba.xattr_tdb
from samba.dcerpc import xattr
from samba.ndr import ndr_pack
diff --git a/source4/scripting/python/samba/upgradehelpers.py b/source4/scripting/python/samba/upgradehelpers.py
index ded3ff1307..ddc857e155 100755
--- a/source4/scripting/python/samba/upgradehelpers.py
+++ b/source4/scripting/python/samba/upgradehelpers.py
@@ -21,6 +21,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+"""Helers used for upgrading between different database formats."""
import os
import string