1
0
mirror of https://github.com/samba-team/samba.git synced 2025-04-29 14:50:26 +03:00

10 Commits

Author SHA1 Message Date
Jelmer Vernooij
23d3880725 samba.netcmd: Pass in outf/errf.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Wed Nov  2 20:09:40 CET 2011 on sn-devel-104
2011-11-02 20:09:40 +01:00
Jelmer Vernooij
1b27efd910 samba-tool: Add test to make sure all commands have a short description set.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Fri Oct 14 01:53:45 CEST 2011 on sn-devel-104
2011-10-14 01:53:45 +02:00
Jelmer Vernooij
37a4bcd28b samba-tool: Add test to make sure all commands have a synopsis set. 2011-10-14 00:22:57 +02:00
Jelmer Vernooij
b5d5945801 samba.netcmd: Reintroduce Command.name. 2011-10-14 00:22:57 +02:00
Jelmer Vernooij
de9b3b6190 samba-tools/testparm: Add really basic unit test, demonstrating how to write unit tests for samba-tool in Python.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Thu Oct 13 01:56:20 CEST 2011 on sn-devel-104
2011-10-13 01:56:20 +02:00
Amitay Isaacs
4688b3ca60 s4-test: name attribute remove from Command class, so test not required
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-09-09 15:24:00 +10:00
Jelmer Vernooij
52d64c53b9 s4-python: Add some more module docstrings. 2010-12-05 17:27:05 +01:00
Andrew Tridgell
4cb423f527 s4-python: python is not always in /usr/bin
Using "#!/usr/bin/env python" is more portable. It still isn't ideal
though, as we should really use the python path found at configure
time. We do that in many places already, but some don't.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-06-24 18:46:57 +10:00
Jelmer Vernooij
c92db7b6dc python: Use samba.tests.TestCase, make sure base class tearDown and
setUp methods are called, fix formatting.
2010-06-19 22:46:45 +02:00
Jelmer Vernooij
8c19cd2dea netcmd: Add some basic tests. 2009-12-29 16:26:19 +01:00