1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-04 08:22:08 +03:00

s4-python: Add some more module docstrings.

This commit is contained in:
Jelmer Vernooij
2010-12-05 16:56:27 +01:00
parent 496ef92b09
commit 52d64c53b9
16 changed files with 33 additions and 0 deletions

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.dsdb."""
from samba.credentials import Credentials from samba.credentials import Credentials
from samba.samdb import SamDB from samba.samdb import SamDB
from samba.auth import system_session from samba.auth import system_session

View File

@ -16,6 +16,9 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.hostconfig."""
from samba.hostconfig import SharesContainer from samba.hostconfig import SharesContainer
from samba.tests import TestCase from samba.tests import TestCase

View File

@ -18,6 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.messaging."""
from samba.messaging import Messaging from samba.messaging import Messaging
from samba.tests import TestCase from samba.tests import TestCase

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.netcmd."""
from samba.netcmd import Command from samba.netcmd import Command
import samba.tests import samba.tests

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # 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.ntacls import setntacl, getntacl, XattrBackendError
from samba.dcerpc import xattr, security from samba.dcerpc import xattr, security
from samba.param import LoadParm from samba.param import LoadParm

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.param."""
from samba import param from samba import param
import samba.tests import samba.tests

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.provision."""
import os import os
from samba.provision import setup_secretsdb, findnss, ProvisionPaths from samba.provision import setup_secretsdb, findnss, ProvisionPaths
import samba.tests import samba.tests

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.registry."""
import os import os
from samba import registry from samba import registry
import samba.tests import samba.tests

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.samba3."""
from samba.samba3 import (GroupMappingDatabase, Registry, PolicyDatabase, from samba.samba3 import (GroupMappingDatabase, Registry, PolicyDatabase,
SecretsDatabase, TdbSam) SecretsDatabase, TdbSam)
from samba.samba3 import (WinsDatabase, SmbpasswdFile, ACB_NORMAL, from samba.samba3 import (WinsDatabase, SmbpasswdFile, ACB_NORMAL,

View File

@ -16,6 +16,9 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.samdb."""
import logging import logging
import os import os
import uuid import uuid

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.dcerpc.security."""
import samba.tests import samba.tests
from samba.dcerpc import security from samba.dcerpc import security

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.upgrade."""
from samba.upgrade import import_wins from samba.upgrade import import_wins
from samba.tests import LdbTestCase from samba.tests import LdbTestCase

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.upgradeprovision."""
import os import os
from samba.upgradehelpers import (usn_in_range, dn_sort, from samba.upgradehelpers import (usn_in_range, dn_sort,
get_diff_sddls, update_secrets, get_diff_sddls, update_secrets,

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
# #
"""Tests for samba.upgradeprovision that need a DC."""
import os import os
import re import re
import shutil import shutil

View File

@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>. # 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 import samba.xattr_native, samba.xattr_tdb
from samba.dcerpc import xattr from samba.dcerpc import xattr
from samba.ndr import ndr_pack from samba.ndr import ndr_pack

View File

@ -21,6 +21,7 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
"""Helers used for upgrading between different database formats."""
import os import os
import string import string