diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-11-09 13:28:02 +1100 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-11-10 14:24:21 +1100 |
commit | ba41389d3d0860079b1276fb32f1d0d989f2471f (patch) | |
tree | 559ffa758afe1215bf6e334bae8b2b113faf424e /auth/credentials/tests | |
parent | 862823a7764c692282dec7a93e7d37feeb924eef (diff) | |
download | samba-ba41389d3d0860079b1276fb32f1d0d989f2471f.tar.gz samba-ba41389d3d0860079b1276fb32f1d0d989f2471f.tar.bz2 samba-ba41389d3d0860079b1276fb32f1d0d989f2471f.zip |
test: fixed several tests to use samba.tests
this fixes error checking. Test failures were not being detected
otherwise
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'auth/credentials/tests')
-rwxr-xr-x | auth/credentials/tests/bind.py | 4 |
1 files changed, 2 insertions, 2 deletions
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] <host>") sambaopts = options.SambaOptions(parser) |