diff options
author | Stefan Metzmacher <metze@samba.org> | 2016-07-08 06:23:53 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2016-07-09 15:06:19 +0200 |
commit | 7bfefa9ae229a19a6feb757b4968568558d748f3 (patch) | |
tree | 9ea5a83ce02fb6702e82dd376663bd08369aab24 /source4/dsdb/tests/python/tombstone_reanimation.py | |
parent | c16b30c4113a2d6598d98e8353435e204951094c (diff) | |
download | samba-7bfefa9ae229a19a6feb757b4968568558d748f3.tar.gz |
s4:dsdb/tests: make use assertAttributesEqual() in RestoreUserObjectTestCase()
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/tests/python/tombstone_reanimation.py')
-rw-r--r-- | source4/dsdb/tests/python/tombstone_reanimation.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |