diff options
| author | Stefan Metzmacher <metze@samba.org> | 2016-05-25 16:05:14 +0200 |
|---|---|---|
| committer | Andrew Bartlett <abartlet@samba.org> | 2016-06-27 05:00:16 +0200 |
| commit | 8156cd736fad819fc9bd4d581a761098bc412121 (patch) | |
| tree | b69073ecaa204f99117444798e6ddfde0cc864d5 /source4 | |
| parent | 82d2b99718c2c1d919e6f7d9590dbe421abb4898 (diff) | |
| download | samba-8156cd736fad819fc9bd4d581a761098bc412121.tar.gz samba-8156cd736fad819fc9bd4d581a761098bc412121.tar.bz2 samba-8156cd736fad819fc9bd4d581a761098bc412121.zip | |
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>
Diffstat (limited to 'source4')
| -rwxr-xr-x | source4/dsdb/tests/python/sam.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/tests/python/sam.py b/source4/dsdb/tests/python/sam.py index bc5037bffc4..c767c11266b 100755 --- a/source4/dsdb/tests/python/sam.py +++ b/source4/dsdb/tests/python/sam.py @@ -2918,7 +2918,8 @@ class SamTests(samba.tests.TestCase): # "**ANY**" values means "any" continue 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 delete_force(self.ldb, "cn=ldaptestuser,cn=users," + self.base_dn) |
