1
0
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:
Jelmer Vernooij
2008-04-14 19:13:41 +02:00
committed by Andrew Bartlett
parent c1d9167fbc
commit 1bcbc4afcf
2 changed files with 26 additions and 8 deletions

View File

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