summaryrefslogtreecommitdiff
path: root/source4/scripting/python/samba/tests/dcerpc/sam.py
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting/python/samba/tests/dcerpc/sam.py')
-rw-r--r--source4/scripting/python/samba/tests/dcerpc/sam.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/dcerpc/sam.py b/source4/scripting/python/samba/tests/dcerpc/sam.py
index 50caaf2348..96348f2f69 100644
--- a/source4/scripting/python/samba/tests/dcerpc/sam.py
+++ b/source4/scripting/python/samba/tests/dcerpc/sam.py
@@ -19,10 +19,11 @@
import samr
import unittest
+from samba.tests import get_loadparm
class SamrTests(unittest.TestCase):
def setUp(self):
- self.conn = samr.samr("ncalrpc:", "st/client/client.conf")
+ self.conn = samr.samr("ncalrpc:", get_loadparm())
def test_connect5(self):
(level, info, handle) = self.conn.Connect5(None, 0, 1, samr.ConnectInfo1())