]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
python/samba/tests: Include more detail on invoication in test of "samba-tool user...
authorAndrew Bartlett <abartlet@samba.org>
Wed, 28 Feb 2024 21:38:38 +0000 (10:38 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 29 Feb 2024 01:31:31 +0000 (01:31 +0000)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
python/samba/tests/samba_tool/user.py

index 26c9748ffc329173d41b9fed4dca5681236d8dab..a19592a1f8ce4003ccfb6f8a2ad49c6dbeb5569b 100644 (file)
@@ -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)