# 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
# 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
# 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
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.netcmd."""
+
from samba.netcmd import Command
import samba.tests
# 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
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.param."""
+
from samba import param
import samba.tests
# 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
# 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
# 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,
# 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
# 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
# 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
# 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,
# 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
# 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
# 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