From: Jo Sutton Date: Tue, 9 Apr 2024 03:39:43 +0000 (+1200) Subject: python:tests: Fix set declaration X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=ae39a15b51841c6106b5857a5ae892687c8deea8;p=metze%2Fsamba-autobuild%2F.git python:tests: Fix set declaration Signed-off-by: Jo Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/dckeytab.py b/python/samba/tests/dckeytab.py index 090f53332c8..a382e8b7356 100644 --- a/python/samba/tests/dckeytab.py +++ b/python/samba/tests/dckeytab.py @@ -458,8 +458,8 @@ class DCKeytabTests(TestCaseInTempDir): remote_enctypes = set(remote_keys.keys()) # Check that at least the AES keys were generated - self.assertLessEqual(set(credentials.ENCTYPE_AES256_CTS_HMAC_SHA1_96, - credentials.ENCTYPE_AES128_CTS_HMAC_SHA1_96), + self.assertLessEqual({credentials.ENCTYPE_AES256_CTS_HMAC_SHA1_96, + credentials.ENCTYPE_AES128_CTS_HMAC_SHA1_96}, remote_enctypes) local_enctypes = set(local_keys.keys())