mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4/dsdb/tests: PY3 port samba4.user_account_control test
Fix dict_items are not combinable with '+' operator error, need to convert to list first. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
32c8c820a2
commit
60a9998ea3
@ -98,7 +98,7 @@ class UserAccountControlTests(samba.tests.TestCase):
|
||||
"dn": dn,
|
||||
"objectclass": "computer"}
|
||||
if others is not None:
|
||||
msg_dict = dict(msg_dict.items() + others.items())
|
||||
msg_dict = dict(list(msg_dict.items()) + list(others.items()))
|
||||
|
||||
msg = ldb.Message.from_dict(self.samdb, msg_dict)
|
||||
msg["sAMAccountName"] = samaccountname
|
||||
|
Loading…
Reference in New Issue
Block a user