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

Use SMB_CONF_PATH environment variable inside tests rather than hardcoded paths.

(This used to be commit eb04de69c0)
This commit is contained in:
Jelmer Vernooij
2008-02-11 13:20:24 +01:00
parent e4165448d7
commit af007e5837
5 changed files with 13 additions and 8 deletions

View File

@ -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())