From ba41389d3d0860079b1276fb32f1d0d989f2471f Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 9 Nov 2011 13:28:02 +1100 Subject: test: fixed several tests to use samba.tests this fixes error checking. Test failures were not being detected otherwise Pair-Programmed-With: Amitay Isaacs --- auth/credentials/tests/bind.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'auth/credentials/tests') diff --git a/auth/credentials/tests/bind.py b/auth/credentials/tests/bind.py index 1529a475c7..aa4b17aaff 100755 --- a/auth/credentials/tests/bind.py +++ b/auth/credentials/tests/bind.py @@ -25,10 +25,10 @@ from samba.auth import system_session from samba import gensec from samba.samdb import SamDB from samba.credentials import Credentials -import samba.tests +import samba.tests, unittest from samba.tests import delete_force from subunit.run import SubunitTestRunner -import unittest +from samba.tests import TestCase, TestSkipped parser = optparse.OptionParser("ldap [options] ") sambaopts = options.SambaOptions(parser) -- cgit