From a74c7d780cb6a1e8a5a63ebbbcf36fd7cf717ea1 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 17 Jun 2013 22:37:54 +1000 Subject: torture/drs: Expand an error message to aid debugging Reviewed-by: Stefan Metzmacher Autobuild-User(master): Stefan Metzmacher Autobuild-Date(master): Thu Jul 25 13:51:44 CEST 2013 on sn-devel-104 --- source4/torture/drs/python/delete_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/torture/drs/python/delete_object.py b/source4/torture/drs/python/delete_object.py index 0f56fa81ef..f36232e0a5 100644 --- a/source4/torture/drs/python/delete_object.py +++ b/source4/torture/drs/python/delete_object.py @@ -74,7 +74,7 @@ class DrsDeleteObjectTestCase(drs_base.DrsBaseTestCase): self.assertTrue(not("objectCategory" in user_cur)) self.assertTrue(not("sAMAccountType" in user_cur)) self.assertTrue(dodn in str(user_cur["dn"]), - "User %s is deleted but it is not located under %s!" % (name_orig, dodn)) + "User %s is deleted but it is not located under %s (found at %s)!" % (name_orig, dodn, user_cur["dn"])) self.assertEquals(name_cur, name_orig + "\nDEL:" + guid_str) else: self.assertTrue(not("isDeleted" in user_cur)) -- cgit