mirror of
https://github.com/samba-team/samba.git
synced 2025-08-04 08:22:08 +03:00
tests python krb5: Make PrincipalName_create a class method
Make PrincipalName_create a class method, so it can be used in helper classes. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
04248f5e86
commit
b14dca7c1c
@ -470,6 +470,7 @@ class RawKerberosTest(TestCase):
|
||||
}
|
||||
return Checksum_obj
|
||||
|
||||
@classmethod
|
||||
def PrincipalName_create(self, name_type, names):
|
||||
# PrincipalName ::= SEQUENCE {
|
||||
# name-type [0] Int32,
|
||||
|
Reference in New Issue
Block a user