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:
@ -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())
|
||||
|
Reference in New Issue
Block a user