From: Andrew Bartlett Date: Wed, 28 Feb 2024 21:38:38 +0000 (+1300) Subject: python/samba/tests: Include more detail on invoication in test of "samba-tool user... X-Git-Tag: tdb-1.4.11~1668 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dfe71c4235ad9943ba55d5d192b168554be749b3;p=thirdparty%2Fsamba.git python/samba/tests: Include more detail on invoication in test of "samba-tool user show" Signed-off-by: Andrew Bartlett Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/tests/samba_tool/user.py b/python/samba/tests/samba_tool/user.py index 26c9748ffc3..a19592a1f8c 100644 --- a/python/samba/tests/samba_tool/user.py +++ b/python/samba/tests/samba_tool/user.py @@ -600,7 +600,9 @@ sAMAccountName: %s "-H", "ldap://%s" % os.environ["DC_SERVER"], "-U%s%%%s" % (os.environ["DC_USERNAME"], os.environ["DC_PASSWORD"])) - self.assertCmdSuccess(result, out, err, "Error running show") + self.assertCmdSuccess(result, out, err, + "Error running show --attributes=%s" + % ",".join(attrs)) self.assertIn(";format=GeneralizedTime", out) self.assertIn(";format=UnixTime", out)