diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-04-14 19:20:43 +0200 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-04-14 19:20:43 +0200 |
commit | 2cdfaedee203a726bddfb46fb10d9604de32a05f (patch) | |
tree | 77758ac8228e8f0abf025352c1128de6c6c480af /source4/scripting/python | |
parent | 1bcbc4afcf2f9984081652c1fbe50d329c86b3b5 (diff) | |
download | samba-2cdfaedee203a726bddfb46fb10d9604de32a05f.tar.gz samba-2cdfaedee203a726bddfb46fb10d9604de32a05f.tar.bz2 samba-2cdfaedee203a726bddfb46fb10d9604de32a05f.zip |
Make sure credentials are specified when running the Python winreg RPC tests.
(This used to be commit 280339e3d126f5c72dc271051b72839fde0c5c9f)
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/samba/tests/dcerpc/registry.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/tests/dcerpc/registry.py b/source4/scripting/python/samba/tests/dcerpc/registry.py index 1afdc582a7..05ac7c66ee 100644 --- a/source4/scripting/python/samba/tests/dcerpc/registry.py +++ b/source4/scripting/python/samba/tests/dcerpc/registry.py @@ -23,8 +23,8 @@ from samba.tests import RpcInterfaceTestCase class WinregTests(RpcInterfaceTestCase): def setUp(self): - self.conn = winreg.winreg("ncalrpc:", self.get_loadparm(), - self.get_credentials()) + lp = self.get_loadparm() + self.conn = winreg.winreg("ncalrpc:", lp, self.get_credentials()) def get_hklm(self): return self.conn.OpenHKLM(None, |