1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

s4:dsdb/tests: improve error message in test_new_user_default_attributes()

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Stefan Metzmacher 2016-05-25 16:05:14 +02:00 committed by Andrew Bartlett
parent 82d2b99718
commit 8156cd736f

View File

@ -2918,7 +2918,8 @@ class SamTests(samba.tests.TestCase):
# "**ANY**" values means "any" # "**ANY**" values means "any"
continue continue
self.assertEqual(expected_val, actual_val, self.assertEqual(expected_val, actual_val,
"Unexpected value for '%s'" % name) "Unexpected value[%r] for '%s' expected[%r]" %
(actual_val, name, expected_val))
# clean up # clean up
delete_force(self.ldb, "cn=ldaptestuser,cn=users," + self.base_dn) delete_force(self.ldb, "cn=ldaptestuser,cn=users," + self.base_dn)