diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2009-06-17 20:43:25 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2009-06-17 20:45:40 +0200 |
commit | 832b929ddec9d5fa24b90850aec4cb26d76f50fb (patch) | |
tree | 2d63880f4fcedf5b3a187a61962be4738f1a30bf /source4/lib/ldb/tests/python/api.py | |
parent | 4d2baca7be36d7cccbb2c632598a4e43ca1dd55e (diff) | |
download | samba-832b929ddec9d5fa24b90850aec4cb26d76f50fb.tar.gz samba-832b929ddec9d5fa24b90850aec4cb26d76f50fb.tar.bz2 samba-832b929ddec9d5fa24b90850aec4cb26d76f50fb.zip |
pyldb: Fix three more (minor) memory leaks.
Diffstat (limited to 'source4/lib/ldb/tests/python/api.py')
-rwxr-xr-x | source4/lib/ldb/tests/python/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py index 7795962e0f..05e3da782e 100755 --- a/source4/lib/ldb/tests/python/api.py +++ b/source4/lib/ldb/tests/python/api.py @@ -372,11 +372,11 @@ class DnTests(unittest.TestCase): def test_canonical_string(self): x = ldb.Dn(self.ldb, "dc=foo25,bar=bloe") - self.assertEquals("/bloe/foo", x.canonical_str()) + self.assertEquals("/bloe/foo25", x.canonical_str()) def test_canonical_ex_string(self): x = ldb.Dn(self.ldb, "dc=foo26,bar=bloe") - self.assertEquals("/bloe\nfoo", x.canonical_ex_str()) + self.assertEquals("/bloe\nfoo26", x.canonical_ex_str()) class LdbMsgTests(unittest.TestCase): |