mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
tests/auth_log: Correctly get lp_ctx
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
af9d1a3d90
commit
e2e8c86988
@ -41,7 +41,7 @@ class AuthLogTestBase(samba.tests.TestCase):
|
||||
if server_conf:
|
||||
lp_ctx = LoadParm(filename_for_non_global_lp=server_conf)
|
||||
else:
|
||||
samba.tests.env_loadparm()
|
||||
lp_ctx = samba.tests.env_loadparm()
|
||||
cls.msg_ctx = Messaging((1,), lp_ctx=lp_ctx)
|
||||
cls.msg_ctx.irpc_add_name(AUTH_EVENT_NAME)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user