From 7bfefa9ae229a19a6feb757b4968568558d748f3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Jul 2016 06:23:53 +0200 Subject: s4:dsdb/tests: make use assertAttributesEqual() in RestoreUserObjectTestCase() Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- source4/dsdb/tests/python/tombstone_reanimation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/dsdb/tests/python/tombstone_reanimation.py') diff --git a/source4/dsdb/tests/python/tombstone_reanimation.py b/source4/dsdb/tests/python/tombstone_reanimation.py index af676fae6f1..6340358e6a9 100644 --- a/source4/dsdb/tests/python/tombstone_reanimation.py +++ b/source4/dsdb/tests/python/tombstone_reanimation.py @@ -361,7 +361,7 @@ class RestoreUserObjectTestCase(RestoredObjectAttributesBaseTestCase): # windows restore more attributes that originally we have orig_attrs.update(['adminCount', 'operatorCount', 'lastKnownParent']) rest_attrs = set(obj_restore.keys()) - self.assertEqual(orig_attrs, rest_attrs, "Actual object does not have expected attributes") + self.assertAttributesEqual(obj, orig_attrs, obj_restore, rest_attrs) self.assertAttributesExists(self._expected_user_attributes(username, usr_dn, "Person"), obj_restore) -- cgit v1.2.1