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:
parent
82d2b99718
commit
8156cd736f
@ -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)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user