diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-12-05 17:00:45 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-12-05 17:27:05 +0100 |
commit | 71671a84bbb93cee24f972b9ef72612166290ee0 (patch) | |
tree | 7916d37f32259936e59f23d7a2db899ab0717e51 /source4/scripting | |
parent | 52d64c53b9ac2abd25c4411b2bcb770e6ab89632 (diff) | |
download | samba-71671a84bbb93cee24f972b9ef72612166290ee0.tar.gz samba-71671a84bbb93cee24f972b9ef72612166290ee0.tar.bz2 samba-71671a84bbb93cee24f972b9ef72612166290ee0.zip |
s4-python: Add more module docstrings.
Diffstat (limited to 'source4/scripting')
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 e69de29bb2..8569cb55bd 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 06c1b5c7d3..5a56afdbfb 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 b6bf830304..0f9625570a 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 c3679fef86..22163697f8 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 689cea360c..37a647a842 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 7b0cb5f60b..f0716d5ffb 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 d561dde514..fe0f93ef9b 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 b7dd065b8c..ba7ad9688b 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 4ae5fd85b3..38b381d3aa 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 4e1fe65ec5..16bf37e749 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 |