summaryrefslogtreecommitdiff
path: root/python/samba/tests/dns.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/samba/tests/dns.py')
-rw-r--r--python/samba/tests/dns.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py
index c9f2bdfbd47..fe0ac3b03ec 100644
--- a/python/samba/tests/dns.py
+++ b/python/samba/tests/dns.py
@@ -36,6 +36,11 @@ def make_txt_record(records):
class DNSTest(TestCase):
+ def get_loadparm(self):
+ lp = param.LoadParm()
+ lp.load(os.getenv("SMB_CONF_PATH"))
+ return lp
+
def errstr(self, errcode):
"Return a readable error code"
string_codes = [