1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-22 16:59:09 +03:00

python: Use samba.tests.TestCase, make sure base class tearDown and

setUp methods are called, fix formatting.
This commit is contained in:
Jelmer Vernooij
2010-06-19 18:58:18 +02:00
parent 105ebb3440
commit c92db7b6dc
28 changed files with 107 additions and 80 deletions

View File

@ -17,11 +17,10 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import unittest
from samba.netcmd import Command
import samba.tests
class CommandTests(unittest.TestCase):
class CommandTests(samba.tests.TestCase):
def test_name(self):
class cmd_foo(Command):