summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-10-19 09:53:02 +0200
committerJelmer Vernooij <jelmer@samba.org>2012-10-19 11:37:44 +0200
commite3a48bb5f65bf9f5b77df010dcb75fcc9721cf3b (patch)
tree24853890f995cec646b9effa8e6f2dd017b8e2fa /source4/scripting/python
parent364ed82d22bbcd69ae237098ba8d6946969bd390 (diff)
downloadsamba-e3a48bb5f65bf9f5b77df010dcb75fcc9721cf3b.tar.gz
samba-e3a48bb5f65bf9f5b77df010dcb75fcc9721cf3b.tar.bz2
samba-e3a48bb5f65bf9f5b77df010dcb75fcc9721cf3b.zip
samba-tool user test: Fix expected output.
Autobuild-User(master): Jelmer Vernooij <jelmer@samba.org> Autobuild-Date(master): Fri Oct 19 11:37:44 CEST 2012 on sn-devel-104
Diffstat (limited to 'source4/scripting/python')
-rw-r--r--source4/scripting/python/samba/tests/samba_tool/user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/tests/samba_tool/user.py b/source4/scripting/python/samba/tests/samba_tool/user.py
index ab95514a0e..33344cd3d3 100644
--- a/source4/scripting/python/samba/tests/samba_tool/user.py
+++ b/source4/scripting/python/samba/tests/samba_tool/user.py
@@ -145,7 +145,7 @@ class UserCmdTestCase(SambaToolCmdTest):
"-H", "ldap://%s" % os.environ["DC_SERVER"],
"-U%s%%%s" % (os.environ["DC_USERNAME"], os.environ["DC_PASSWORD"]))
self.assertCmdSuccess(result, "Can we run setexpiry with names")
- self.assertIn("Set expiry for user '%s' to 2 days" % user["name"], out)
+ self.assertIn("Expiry for user '%s' set to 2 days." % user["name"], out)
for user in self.users:
found = self._find_user(user["name"])