From 22b7cb3f2905375b5a9d88d9309062ceec658540 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 3 Jan 2011 01:43:51 +0100 Subject: pyldb: Fix memory reference error. Autobuild-User: Jelmer Vernooij Autobuild-Date: Mon Jan 3 02:34:05 CET 2011 on sn-devel-104 --- source4/lib/ldb/tests/python/api.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/lib/ldb/tests/python') diff --git a/source4/lib/ldb/tests/python/api.py b/source4/lib/ldb/tests/python/api.py index cd9651e6f6..016ccc3955 100755 --- a/source4/lib/ldb/tests/python/api.py +++ b/source4/lib/ldb/tests/python/api.py @@ -607,6 +607,10 @@ class MessageElementTests(unittest.TestCase): y = ldb.MessageElement(["foo"]) self.assertEquals(y, x) + def test_extended(self): + el = ldb.MessageElement(["456"], ldb.FLAG_MOD_ADD, "bla") + self.assertEquals("MessageElement(['456'])", repr(el)) + class ModuleTests(unittest.TestCase): -- cgit