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/lib/messaging/tests/bindings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/lib/messaging/tests') diff --git a/source4/lib/messaging/tests/bindings.py b/source4/lib/messaging/tests/bindings.py index 8240a364b0..91cf024555 100644 --- a/source4/lib/messaging/tests/bindings.py +++ b/source4/lib/messaging/tests/bindings.py @@ -19,9 +19,10 @@ # from samba.messaging import Messaging -from unittest import TestCase +from samba.tests import TestCase class MessagingTests(TestCase): + def get_context(self, *args, **kwargs): kwargs["messaging_path"] = "." return Messaging(*args, **kwargs) -- cgit