diff --git a/source4/dsdb/tests/python/user_account_control.py b/source4/dsdb/tests/python/user_account_control.py index fc5a962b3d9..a64fc629c01 100755 --- a/source4/dsdb/tests/python/user_account_control.py +++ b/source4/dsdb/tests/python/user_account_control.py @@ -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