diff options
| author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-25 03:54:33 +0100 |
|---|---|---|
| committer | Jelmer Vernooij <jelmer@samba.org> | 2008-01-25 03:54:33 +0100 |
| commit | dcb04065cda7fc7f23c494ec138af6b882651f20 (patch) | |
| tree | 0117d543ffa8ba23b1ba1637cbe55c5ab09a4b4d /source4/scripting/python/samba/tests/__init__.py | |
| parent | c28c683208aad1a136c8c6decc3297bf1995aa90 (diff) | |
| download | samba-dcb04065cda7fc7f23c494ec138af6b882651f20.tar.gz samba-dcb04065cda7fc7f23c494ec138af6b882651f20.tar.bz2 samba-dcb04065cda7fc7f23c494ec138af6b882651f20.zip | |
python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
(This used to be commit dff54ff043563f93b86361039c46e662045f62cc)
Diffstat (limited to 'source4/scripting/python/samba/tests/__init__.py')
| -rw-r--r-- | source4/scripting/python/samba/tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/__init__.py b/source4/scripting/python/samba/tests/__init__.py index e557dd95bee..94020026749 100644 --- a/source4/scripting/python/samba/tests/__init__.py +++ b/source4/scripting/python/samba/tests/__init__.py @@ -79,7 +79,7 @@ class LdbExtensionTests(TestCaseInTempDir): l = samba.Ldb(path) try: l.add({"dn": "foo=dc", "bar": "bla"}) - self.assertEquals("bla", l.searchone(ldb.Dn(l, "foo=dc"), "bar")) + self.assertEquals("bla", l.searchone(basedn=ldb.Dn(l, "foo=dc"), attribute="bar")) finally: del l os.unlink(path) |
