]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/krb5: Have _modify_tgt() accept only keyword arguments
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 18 Oct 2023 00:53:59 +0000 (13:53 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Oct 2023 21:37:36 +0000 (21:37 +0000)
to prevent further accidents.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/kdc_tgs_tests.py

index fb85fb399d8310bb719c537c14ddc201ee4f1954..28654042f78a0f2cd2cb5cc1fcbec2938fb2b80a 100755 (executable)
@@ -2936,6 +2936,7 @@ class KdcTgsTests(KdcTgsBaseTests):
 
     def _modify_tgt(self,
                     tgt,
+                    *,
                     renewable=False,
                     invalid=False,
                     from_rodc=False,