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/auth/tests/bindings.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source4/auth/tests/bindings.py') diff --git a/source4/auth/tests/bindings.py b/source4/auth/tests/bindings.py index 15368a4bf7..58b66d3c98 100644 --- a/source4/auth/tests/bindings.py +++ b/source4/auth/tests/bindings.py @@ -23,10 +23,11 @@ Note that this just tests the bindings work. It does not intend to test the functionality, that's already done in other tests. """ -import unittest from samba import auth +import samba.tests + +class AuthTests(samba.tests.TestCase): -class AuthTests(unittest.TestCase): def test_system_session(self): auth.system_session() -- cgit