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)