summaryrefslogtreecommitdiffstats
path: root/source4/lib/registry/tests
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-12-18 16:49:33 +0000
committerJelmer Vernooij <jelmer@samba.org>2008-12-18 16:49:33 +0000
commit61a2d5c8784a99d4d0419a00375be91a3e9bfc33 (patch)
tree79bb112e42044835bdd3d12c70790de6b2ba1f5c /source4/lib/registry/tests
parent49d522fe381430799d636305dcc8d2babe16f8ff (diff)
downloadsamba-61a2d5c8784a99d4d0419a00375be91a3e9bfc33.tar.gz
samba-61a2d5c8784a99d4d0419a00375be91a3e9bfc33.tar.xz
samba-61a2d5c8784a99d4d0419a00375be91a3e9bfc33.zip
Use plain Python C API for registry module, rather than SWIG.
Diffstat (limited to 'source4/lib/registry/tests')
-rw-r--r--source4/lib/registry/tests/bindings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/registry/tests/bindings.py b/source4/lib/registry/tests/bindings.py
index 1fb5c70b70d..8c3233ef1eb 100644
--- a/source4/lib/registry/tests/bindings.py
+++ b/source4/lib/registry/tests/bindings.py
@@ -25,7 +25,7 @@ import samba.tests
class HelperTests(unittest.TestCase):
def test_predef_to_name(self):
self.assertEquals("HKEY_LOCAL_MACHINE",
- registry.reg_get_predef_name(0x80000002))
+ registry.get_predef_name(0x80000002))
def test_str_regtype(self):
self.assertEquals("REG_DWORD", registry.str_regtype(4))