summaryrefslogtreecommitdiff
path: root/source4/dsdb/tests/python/deletetest.py
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-11-09 13:28:02 +1100
committerAndrew Tridgell <tridge@samba.org>2011-11-10 14:24:21 +1100
commitba41389d3d0860079b1276fb32f1d0d989f2471f (patch)
tree559ffa758afe1215bf6e334bae8b2b113faf424e /source4/dsdb/tests/python/deletetest.py
parent862823a7764c692282dec7a93e7d37feeb924eef (diff)
downloadsamba-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 'source4/dsdb/tests/python/deletetest.py')
-rwxr-xr-xsource4/dsdb/tests/python/deletetest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/deletetest.py b/source4/dsdb/tests/python/deletetest.py
index 80c6937483..ce972ab7cf 100755
--- a/source4/dsdb/tests/python/deletetest.py
+++ b/source4/dsdb/tests/python/deletetest.py
@@ -40,13 +40,14 @@ host = args[0]
lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp)
-class BasicDeleteTests(unittest.TestCase):
+class BasicDeleteTests(samba.tests.TestCase):
def GUID_string(self, guid):
return self.ldb.schema_format_value("objectGUID", guid)
def setUp(self):
+ super(BasicDeleteTests, self).setUp()
self.ldb = ldb
self.base_dn = ldb.domain_dn()
self.configuration_dn = ldb.get_config_basedn().get_linearized()