mirror of
https://github.com/samba-team/samba.git
synced 2025-07-09 20:59:11 +03:00
s4-python: Add some more module docstrings.
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user