summaryrefslogtreecommitdiff
path: root/python/samba/tests/samba_tool/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/samba/tests/samba_tool/user.py')
-rw-r--r--python/samba/tests/samba_tool/user.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/samba/tests/samba_tool/user.py b/python/samba/tests/samba_tool/user.py
index e219d68aaba..4d264b4027d 100644
--- a/python/samba/tests/samba_tool/user.py
+++ b/python/samba/tests/samba_tool/user.py
@@ -82,7 +82,7 @@ class UserCmdTestCase(SambaToolCmdTest):
# test adding users with --use-username-as-cn
for user in self.users:
- (result, out, err) = self.runsubcmd("user", "create", user["name"], user["password"],
+ (result, out, err) = self.runsubcmd("user", "create", user["name"], user["password"],
"--use-username-as-cn",
"--surname=%s" % user["surname"],
"--given-name=%s" % user["given-name"],
@@ -389,7 +389,7 @@ sAMAccountName: %s
def test_move(self):
full_ou_dn = str(self.samdb.normalize_dn_in_domain("OU=movetest"))
- (result, out, err) = self.runsubcmd("ou", "create", full_ou_dn)
+ (result, out, err) = self.runsubcmd("ou", "create", full_ou_dn)
self.assertCmdSuccess(result, out, err)
self.assertEquals(err, "", "There shouldn't be any error message")
self.assertIn('Created ou "%s"' % full_ou_dn, out)
@@ -402,7 +402,7 @@ sAMAccountName: %s
(user["name"], full_ou_dn), out)
# Should fail as users objects are in OU
- (result, out, err) = self.runsubcmd("ou", "delete", full_ou_dn)
+ (result, out, err) = self.runsubcmd("ou", "delete", full_ou_dn)
self.assertCmdFail(result)
self.assertIn(("subtree_delete: Unable to delete a non-leaf node "
"(it has %d children)!") % len(self.users), err)