git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e2d419
)
tests: Pass the test context as lp_ctx for messaging tests
author
Matthieu Patou
<mat@matws.net>
Mon, 6 Oct 2014 23:44:16 +0000
(16:44 -0700)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 7 Oct 2014 23:09:50 +0000
(
01:09
+0200)
Change-Id: I1acf5c42b21465a8c45549039f0054414b8f31d1
Signed-off-by: Matthieu Patou <mat@matws.net>
python/samba/tests/messaging.py
patch
|
blob
|
history
diff --git
a/python/samba/tests/messaging.py
b/python/samba/tests/messaging.py
index f0cd368195f81f5c3957d83807adb396460427c6..5d32d6088624a42391760c496e02247c7549a602 100644
(file)
--- a/
python/samba/tests/messaging.py
+++ b/
python/samba/tests/messaging.py
@@
-18,7
+18,7
@@
#
"""Tests for samba.messaging."""
-
+import samba
from samba.messaging import Messaging
from samba.tests import TestCase
from samba.dcerpc.server_id import server_id
@@
-26,6
+26,7
@@
from samba.dcerpc.server_id import server_id
class MessagingTests(TestCase):
def get_context(self, *args, **kwargs):
+ kwargs['lp_ctx'] = samba.tests.env_loadparm()
return Messaging(*args, **kwargs)
def test_register(self):