s4-python: Add some more module docstrings.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 5 Dec 2010 15:56:27 +0000 (16:56 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 5 Dec 2010 16:27:05 +0000 (17:27 +0100)
16 files changed:
source4/scripting/python/samba/tests/dsdb.py
source4/scripting/python/samba/tests/hostconfig.py
source4/scripting/python/samba/tests/messaging.py
source4/scripting/python/samba/tests/netcmd.py
source4/scripting/python/samba/tests/ntacls.py
source4/scripting/python/samba/tests/param.py
source4/scripting/python/samba/tests/provision.py
source4/scripting/python/samba/tests/registry.py
source4/scripting/python/samba/tests/samba3.py
source4/scripting/python/samba/tests/samdb.py
source4/scripting/python/samba/tests/security.py
source4/scripting/python/samba/tests/upgrade.py
source4/scripting/python/samba/tests/upgradeprovision.py
source4/scripting/python/samba/tests/upgradeprovisionneeddc.py
source4/scripting/python/samba/tests/xattr.py
source4/scripting/python/samba/upgradehelpers.py

index 4a50c96e256678f08eff8e7cc70a09b6d2f71b85..d4331f3ef5f15eec83db198788af4c7ee5371c55 100644 (file)
@@ -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
index 6f5f7f7c7370304061882bcff8adb798ddf111c8..78ca6202b2c95d52cdbbd734e4c2fd60ec8c81ae 100644 (file)
@@ -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
 
index 91cf024555bd2dc51837b65286378620bfe91890..d2a0b73775f05d8c418c4f2b6412d2ea09aca31d 100644 (file)
@@ -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
 
index 4d83f2e781e48f89d226b7ce6537c46c13629485..787bcd5a7263d2bb33b3fe3b7e349dc7514cf8f8 100644 (file)
@@ -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
 
index 06fa1d8f8326be5fde32c2e5520663b669ae2964..2d8d6b9d67cd0ebe9c3db31bbdb8d9a4f6cc3ac7 100644 (file)
@@ -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
index 34d6544e3cb1a3a88a3059f09e4e3372fb7e549e..7848e1c23b6e70977802dc40011f2e9f88ea3e0f 100644 (file)
@@ -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
 
index 58bb030568e13a54771213ea03258ccab3da539e..29287ff3f21190678be8495f613749cd780b864e 100644 (file)
@@ -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
index d01ebff909bfa3b8b6da9be170e2661ae13ace26..97926850d2dc8c68b8ec5d6ca8a05f2ee6bcf347 100644 (file)
@@ -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
index 1a85082af98ddc09bdeea83a3e5ed6dadb158d0d..c55de8b521b711e6d40d45ec76c757211ccb0421 100644 (file)
@@ -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,
index 1536f163d127b33e505e9dac63097901f9a37d4e..cedb0d0baf2820e593b0fa0f5dbb053396c74601 100644 (file)
@@ -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
index 22f7df6b1ceacd6dfa3de81612ebdd617d219132..59e311306828f6d70fcc08629e6d1deb65fb88be 100644 (file)
@@ -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
 
index f49a0c55307d68239e4e4869d70b72bf6864f4a8..16ccbd567e230c6c51f590cfbe9641181c427950 100644 (file)
@@ -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
 
index c819397513a71623e95dc154ecc60b750bd5841f..50dcfeb00c6912116c71e6e92ac81317ca6d2f89 100644 (file)
@@ -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,
index d4d6b84fbdf931a5f04b3c9e670e8174f4e2ff2b..3a9c78e0dcdb65fea43ef4ece28ceb667f609cf3 100644 (file)
@@ -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
index ad35b5156d3846cddde1492df39a8e92fa00c6c0..f978ee5b2ad6434862ad960b9864f7b97bb57cff 100644 (file)
@@ -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
index ded3ff13070f904722b4c6202494824ed5135f4c..ddc857e1550ba003fa7e6a1591d062aa4fdcb05f 100755 (executable)
@@ -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