s.t.s.u.UserCmdTestCase(SambaToolCmdTest) : class documentation

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

Tests for samba-tool user subcommands
Method setUp Undocumented
Method tearDown Undocumented
Method test_newuser Undocumented
Method test_setpassword Undocumented
Method test_setexpiry Undocumented
Method _randomUser create a user with random attribute values, you can specify base attributes
Method _create_user Undocumented
Method _find_user Undocumented

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 get_loadparm Undocumented
Method get_credentials Undocumented
def setUp(self):
Undocumented
def tearDown(self):
Undocumented
def test_newuser(self):
Undocumented
def test_setpassword(self):
Undocumented
def test_setexpiry(self):
Undocumented
def _randomUser(self, base={}):
create a user with random attribute values, you can specify base attributes
def _create_user(self, user):
Undocumented
def _find_user(self, name):
Undocumented
API Documentation for Samba, generated by pydoctor at 2011-12-08 20:23:28.