From c92db7b6dc31756fc461ea9f74e1cd675e3e160d Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sat, 19 Jun 2010 18:58:18 +0200 Subject: python: Use samba.tests.TestCase, make sure base class tearDown and setUp methods are called, fix formatting. --- source4/param/tests/bindings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/param') diff --git a/source4/param/tests/bindings.py b/source4/param/tests/bindings.py index 1915e79223..1e393abbcd 100644 --- a/source4/param/tests/bindings.py +++ b/source4/param/tests/bindings.py @@ -18,9 +18,10 @@ # from samba import param -import unittest +import samba.tests + +class LoadParmTestCase(samba.tests.TestCase): -class LoadParmTestCase(unittest.TestCase): def test_init(self): file = param.LoadParm() self.assertTrue(file is not None) -- cgit