mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
Allow command line options in the subunitrun script.
(This used to be commit 524ec0796e
)
This commit is contained in:
committed by
Andrew Bartlett
parent
c1d9167fbc
commit
1bcbc4afcf
@ -85,15 +85,13 @@ class LdbExtensionTests(TestCaseInTempDir):
|
||||
os.unlink(path)
|
||||
|
||||
|
||||
def get_loadparm():
|
||||
import param
|
||||
lp = param.LoadParm()
|
||||
lp.load(os.getenv("SMB_CONF_PATH"))
|
||||
return lp
|
||||
cmdline_loadparm = None
|
||||
cmdline_credentials = None
|
||||
|
||||
class RpcInterfaceTestCase(unittest.TestCase):
|
||||
def get_loadparm(self):
|
||||
return get_loadparm()
|
||||
assert cmdline_loadparm is not None
|
||||
return cmdline_loadparm
|
||||
|
||||
def get_credentials(self):
|
||||
return None
|
||||
return cmdline_credentials
|
||||
|
Reference in New Issue
Block a user