1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-28 11:42:03 +03:00

Make sure credentials are specified when running the Python winreg RPC tests.

(This used to be commit 280339e3d1)
This commit is contained in:
Jelmer Vernooij
2008-04-14 19:20:43 +02:00
committed by Andrew Bartlett
parent 1bcbc4afcf
commit 2cdfaedee2
3 changed files with 4 additions and 5 deletions

View File

@ -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,