s.t.s.t.TimeCmdTestCase(SambaToolCmdTest) : class documentation

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

Tests for samba-tool time subcommands
Method test_timeget Run time against the server and make sure it looks accurate
Method test_timefail Run time against a non-existant server, and make sure it fails

Inherited from SambaToolCmdTest:

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 (via SambaToolCmdTest):

Method setUp Undocumented
Method get_loadparm Undocumented
Method get_credentials Undocumented
def test_timeget(self):
Run time against the server and make sure it looks accurate
def test_timefail(self):
Run time against a non-existant server, and make sure it fails
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.