s.t.s.b.SambaToolCmdTest(samba.tests.TestCase) : class documentation

Part of samba.tests.samba_tool.base View In Hierarchy

Known subclasses: samba.tests.samba_tool.timecmd.TimeCmdTestCase, samba.tests.samba_tool.user.UserCmdTestCase

No class docstring
Method getSamDB a convenience function to get a samdb instance so that we can query it
Method runcmd run a single level command
Method runsubcmd run a command with sub commands
Method assertCmdSuccess Undocumented
Method assertCmdFail Undocumented
Method assertMatch Undocumented
Method randomName Create a random name, cap letters and numbers, and always starting with a letter
Method randomPass Undocumented
Method assertWithin Assert that val1 is within delta of val2, useful for time computations

Inherited from TestCase:

Method setUp Undocumented
Method get_loadparm Undocumented
Method get_credentials Undocumented
def getSamDB(self, *argv):
a convenience function to get a samdb instance so that we can query it
def runcmd(self, name, *args):
run a single level command
def runsubcmd(self, name, sub, *args):
run a command with sub commands
def assertCmdSuccess(self, val, msg=''):
Undocumented
def assertCmdFail(self, val, msg=''):
Undocumented
def assertMatch(self, base, string, msg=''):
Undocumented
def randomName(self, count=8):
Create a random name, cap letters and numbers, and always starting with a letter
def randomPass(self, count=16):
Undocumented
def assertWithin(self, val1, val2, delta, msg=''):
Assert that val1 is within delta of val2, useful for time computations
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.