From: Joseph Sutton Date: Tue, 18 Jul 2023 04:05:25 +0000 (+1200) Subject: tests/krb5: Rename compatability_tests class X-Git-Tag: tevent-0.16.0~1019 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f552933760d2f2d0ddb2edff9c336b71bb765e9f;p=thirdparty%2Fsamba.git tests/krb5: Rename compatability_tests class We should not have two unrelated classes both named SimpleKerberosTests. Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/compatability_tests.py b/python/samba/tests/krb5/compatability_tests.py index 72be7b34c4a..8e9a7e8ce90 100755 --- a/python/samba/tests/krb5/compatability_tests.py +++ b/python/samba/tests/krb5/compatability_tests.py @@ -50,10 +50,10 @@ MIT_ENC_AS_REP_PART_TYPE_TAG = 0x7A ENC_PA_REP_FLAG = 0x00010000 -class SimpleKerberosTests(KDCBaseTest): +class CompatabilityTests(KDCBaseTest): def setUp(self): - super(SimpleKerberosTests, self).setUp() + super().setUp() self.do_asn1_print = global_asn1_print self.do_hexdump = global_hexdump diff --git a/selftest/knownfail_heimdal_kdc b/selftest/knownfail_heimdal_kdc index 8c4c7f73ff5..25e37d5ef2d 100644 --- a/selftest/knownfail_heimdal_kdc +++ b/selftest/knownfail_heimdal_kdc @@ -1,7 +1,7 @@ # # We expect all the MIT specific compatibility tests to fail on heimdal # kerberos -^samba.tests.krb5.compatability_tests.samba.tests.krb5.compatability_tests.SimpleKerberosTests.test_mit_ +^samba.tests.krb5.compatability_tests.samba.tests.krb5.compatability_tests.CompatabilityTests.test_mit_ # # Heimdal currently fails the following MS-KILE client principal lookup # tests diff --git a/selftest/knownfail_mit_kdc b/selftest/knownfail_mit_kdc index 334137b8848..cc0292ff28e 100644 --- a/selftest/knownfail_mit_kdc +++ b/selftest/knownfail_mit_kdc @@ -1,7 +1,7 @@ # # We expect all the heimdal specific compatibility tests to fail on MIT # kerberos -^samba.tests.krb5.compatability_tests.samba.tests.krb5.compatability_tests.SimpleKerberosTests.test_heimdal_ +^samba.tests.krb5.compatability_tests.samba.tests.krb5.compatability_tests.CompatabilityTests.test_heimdal_ # # AS-REQ tests # diff --git a/selftest/knownfail_mit_kdc_1_20 b/selftest/knownfail_mit_kdc_1_20 index 2fcc2ecf072..3e6a5b03db6 100644 --- a/selftest/knownfail_mit_kdc_1_20 +++ b/selftest/knownfail_mit_kdc_1_20 @@ -1,4 +1,4 @@ -^samba.tests.krb5.compatability_tests.samba.tests.krb5.compatability_tests.SimpleKerberosTests.test_mit_pre_1_20_ticket_signature +^samba.tests.krb5.compatability_tests.samba.tests.krb5.compatability_tests.CompatabilityTests.test_mit_pre_1_20_ticket_signature # # FAST tests # https://github.com/krb5/krb5/pull/1225#issuecomment-996418770