diff --git a/python/samba/tests/krb5/device_tests.py b/python/samba/tests/krb5/device_tests.py index 1a0879a29ea..ec2fce654b3 100755 --- a/python/samba/tests/krb5/device_tests.py +++ b/python/samba/tests/krb5/device_tests.py @@ -1920,7 +1920,7 @@ class DeviceTests(KDCBaseTest): tgs_mach_from_rodc = case.pop('tgs:mach:from_rodc', None) # Optional groups which the machine is added to or removed from prior - # to a TGS-REQ , to test how the groups in the device PAC are expanded. + # to a TGS-REQ, to test how the groups in the device PAC are expanded. tgs_mach_added = case.pop('tgs:mach:added', None) tgs_mach_removed = case.pop('tgs:mach:removed', None) diff --git a/python/samba/tests/krb5/s4u_tests.py b/python/samba/tests/krb5/s4u_tests.py index b9f2e7ded48..a0d20db9f6c 100755 --- a/python/samba/tests/krb5/s4u_tests.py +++ b/python/samba/tests/krb5/s4u_tests.py @@ -541,7 +541,7 @@ class S4UKerberosTests(KDCBaseTest): 'expected_flags': 'forwardable' }) - # Do an S4U2Self an check that the service asserted identity is part of + # Do an S4U2Self and check that the service asserted identity is part of # the sids. def test_s4u2self_asserted_identity(self): self._run_s4u2self_test(