mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
tests/krb5: Use assertEqual() instead of assertEquals()
assertEquals() was removed in Python 3.12. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
f7009e2a35
commit
2f5833cbb3
@ -164,7 +164,7 @@ class KdcTests(RawKerberosTest):
|
|||||||
self.check_as_reply(rep)
|
self.check_as_reply(rep)
|
||||||
|
|
||||||
etype = rep['enc-part']['etype']
|
etype = rep['enc-part']['etype']
|
||||||
self.assertEquals(AES256_CTS_HMAC_SHA1_96, etype)
|
self.assertEqual(AES256_CTS_HMAC_SHA1_96, etype)
|
||||||
|
|
||||||
def test_arc4_hmac_md5(self):
|
def test_arc4_hmac_md5(self):
|
||||||
creds = self.get_user_creds()
|
creds = self.get_user_creds()
|
||||||
@ -178,7 +178,7 @@ class KdcTests(RawKerberosTest):
|
|||||||
self.check_as_reply(rep)
|
self.check_as_reply(rep)
|
||||||
|
|
||||||
etype = rep['enc-part']['etype']
|
etype = rep['enc-part']['etype']
|
||||||
self.assertEquals(ARCFOUR_HMAC_MD5, etype)
|
self.assertEqual(ARCFOUR_HMAC_MD5, etype)
|
||||||
|
|
||||||
def test_aes_rc4(self):
|
def test_aes_rc4(self):
|
||||||
creds = self.get_user_creds()
|
creds = self.get_user_creds()
|
||||||
@ -192,7 +192,7 @@ class KdcTests(RawKerberosTest):
|
|||||||
self.check_as_reply(rep)
|
self.check_as_reply(rep)
|
||||||
|
|
||||||
etype = rep['enc-part']['etype']
|
etype = rep['enc-part']['etype']
|
||||||
self.assertEquals(AES256_CTS_HMAC_SHA1_96, etype)
|
self.assertEqual(AES256_CTS_HMAC_SHA1_96, etype)
|
||||||
|
|
||||||
def test_clock_skew(self):
|
def test_clock_skew(self):
|
||||||
creds = self.get_user_creds()
|
creds = self.get_user_creds()
|
||||||
|
Loading…
Reference in New Issue
Block a user