summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/tests/blackbox/__init__.py1
-rwxr-xr-xsource4/scripting/python/samba/tests/blackbox/ndrdump.py9
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/__init__.py1
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/bare.py2
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/misc.py2
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/registry.py2
-rwxr-xr-xsource4/scripting/python/samba/tests/dcerpc/rpc_talloc.py2
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/rpcecho.py2
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/sam.py2
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/unix.py3
10 files changed, 23 insertions, 3 deletions
diff --git a/source4/scripting/python/samba/tests/blackbox/__init__.py b/source4/scripting/python/samba/tests/blackbox/__init__.py
index e69de29bb2d..8569cb55bd3 100644
--- a/source4/scripting/python/samba/tests/blackbox/__init__.py
+++ b/source4/scripting/python/samba/tests/blackbox/__init__.py
@@ -0,0 +1 @@
+"""Blackbox tests. """
diff --git a/source4/scripting/python/samba/tests/blackbox/ndrdump.py b/source4/scripting/python/samba/tests/blackbox/ndrdump.py
index 06c1b5c7d32..5a56afdbfb7 100755
--- a/source4/scripting/python/samba/tests/blackbox/ndrdump.py
+++ b/source4/scripting/python/samba/tests/blackbox/ndrdump.py
@@ -1,9 +1,12 @@
#!/usr/bin/python
-# Blackbox tests for masktest
-# Copyright (C) 2008 Andrew Tridgell
-# Copyright (C) 2008 Andrew Bartlett
+# Blackbox tests for ndrdump
+# Copyright (C) 2008 Andrew Tridgell <tridge@samba.org>
+# Copyright (C) 2008 Andrew Bartlett <abartlet@samba.org>
+# Copyright (C) 2010 Jelmer Vernooij <jelmer@samba.org>
# based on test_smbclient.sh
+"""Blackbox tests for ndrdump."""
+
import os
from samba.tests import BlackboxTestCase
diff --git a/source4/scripting/python/samba/tests/dcerpc/__init__.py b/source4/scripting/python/samba/tests/dcerpc/__init__.py
index b6bf8303044..0f9625570a6 100644
--- a/source4/scripting/python/samba/tests/dcerpc/__init__.py
+++ b/source4/scripting/python/samba/tests/dcerpc/__init__.py
@@ -17,4 +17,5 @@
# 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 the DCE/RPC Python bindings."""
diff --git a/source4/scripting/python/samba/tests/dcerpc/bare.py b/source4/scripting/python/samba/tests/dcerpc/bare.py
index c3679fef86d..22163697f8f 100644
--- a/source4/scripting/python/samba/tests/dcerpc/bare.py
+++ b/source4/scripting/python/samba/tests/dcerpc/bare.py
@@ -18,6 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dcerpc.bare."""
+
from samba.dcerpc import ClientConnection
import samba.tests
diff --git a/source4/scripting/python/samba/tests/dcerpc/misc.py b/source4/scripting/python/samba/tests/dcerpc/misc.py
index 689cea360c7..37a647a8425 100644
--- a/source4/scripting/python/samba/tests/dcerpc/misc.py
+++ b/source4/scripting/python/samba/tests/dcerpc/misc.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dcerpc.misc."""
+
from samba.dcerpc import misc
import samba.tests
diff --git a/source4/scripting/python/samba/tests/dcerpc/registry.py b/source4/scripting/python/samba/tests/dcerpc/registry.py
index 7b0cb5f60b8..f0716d5ffb0 100644
--- a/source4/scripting/python/samba/tests/dcerpc/registry.py
+++ b/source4/scripting/python/samba/tests/dcerpc/registry.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dcerpc.registry."""
+
from samba.dcerpc import winreg
from samba.tests import RpcInterfaceTestCase
diff --git a/source4/scripting/python/samba/tests/dcerpc/rpc_talloc.py b/source4/scripting/python/samba/tests/dcerpc/rpc_talloc.py
index d561dde514c..fe0f93ef9ba 100755
--- a/source4/scripting/python/samba/tests/dcerpc/rpc_talloc.py
+++ b/source4/scripting/python/samba/tests/dcerpc/rpc_talloc.py
@@ -10,6 +10,8 @@
#
# trial samba.tests.dcerpc.rpc_talloc
+"""Tests for the talloc handling in the generated Python DCE/RPC bindings."""
+
import sys
sys.path.insert(0, "bin/python")
diff --git a/source4/scripting/python/samba/tests/dcerpc/rpcecho.py b/source4/scripting/python/samba/tests/dcerpc/rpcecho.py
index b7dd065b8c3..ba7ad9688b4 100644
--- a/source4/scripting/python/samba/tests/dcerpc/rpcecho.py
+++ b/source4/scripting/python/samba/tests/dcerpc/rpcecho.py
@@ -17,6 +17,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dceprc.rpcecho."""
+
from samba.dcerpc import echo
from samba.ndr import ndr_pack, ndr_unpack
from samba.tests import RpcInterfaceTestCase, TestCase
diff --git a/source4/scripting/python/samba/tests/dcerpc/sam.py b/source4/scripting/python/samba/tests/dcerpc/sam.py
index 4ae5fd85b39..38b381d3aaa 100644
--- a/source4/scripting/python/samba/tests/dcerpc/sam.py
+++ b/source4/scripting/python/samba/tests/dcerpc/sam.py
@@ -18,6 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dcerpc.sam."""
+
from samba.dcerpc import samr, security
from samba.tests import RpcInterfaceTestCase
diff --git a/source4/scripting/python/samba/tests/dcerpc/unix.py b/source4/scripting/python/samba/tests/dcerpc/unix.py
index 4e1fe65ec5c..16bf37e749b 100644
--- a/source4/scripting/python/samba/tests/dcerpc/unix.py
+++ b/source4/scripting/python/samba/tests/dcerpc/unix.py
@@ -17,6 +17,9 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
+"""Tests for samba.dcerpc.unixinfo."""
+
+
from samba.dcerpc import unixinfo
from samba.tests import RpcInterfaceTestCase