mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
dsdb: fix error message in sam test
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
74e52a42a7
commit
06a410dfb1
@ -2906,7 +2906,7 @@ class SamTests(samba.tests.TestCase):
|
|||||||
actual_names = set(user_obj.keys())
|
actual_names = set(user_obj.keys())
|
||||||
# Samba does not use 'dSCorePropagationData', so skip it
|
# Samba does not use 'dSCorePropagationData', so skip it
|
||||||
actual_names -= set(['dSCorePropagationData'])
|
actual_names -= set(['dSCorePropagationData'])
|
||||||
self.assertEqual(set(expected_attrs.keys()), actual_names, "Actual object does not has expected attributes")
|
self.assertEqual(set(expected_attrs.keys()), actual_names, "Actual object does not have expected attributes")
|
||||||
# check attribute values
|
# check attribute values
|
||||||
for name in expected_attrs.keys():
|
for name in expected_attrs.keys():
|
||||||
actual_val = user_obj.get(name)
|
actual_val = user_obj.get(name)
|
||||||
|
Loading…
Reference in New Issue
Block a user