git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5dbcbe
)
ldb: Fix tests to call the parent tearDown(), not setUp in tearDown
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 24 Aug 2017 04:29:58 +0000
(16:29 +1200)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 30 Aug 2017 08:48:20 +0000
(10:48 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
lib/ldb/tests/python/api.py
patch
|
blob
|
history
diff --git
a/lib/ldb/tests/python/api.py
b/lib/ldb/tests/python/api.py
index 0c3b20e28ad1eeebe9cf6b804dbb791c31af0213..64f6989b1ae3f5a69a45bc3a77bc894a1ea5e906 100755
(executable)
--- a/
lib/ldb/tests/python/api.py
+++ b/
lib/ldb/tests/python/api.py
@@
-54,7
+54,7
@@
class SimpleLdb(TestCase):
def tearDown(self):
shutil.rmtree(self.testdir)
- super(SimpleLdb, self).
setUp
()
+ super(SimpleLdb, self).
tearDown
()
def test_connect(self):
ldb.Ldb(self.filename)
@@
-616,7
+616,7
@@
class DnTests(TestCase):
def tearDown(self):
shutil.rmtree(self.testdir)
- super(DnTests, self).
setUp
()
+ super(DnTests, self).
tearDown
()
def test_set_dn_invalid(self):
x = ldb.Message()