]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/krb5: Fix overlong lines
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 13 Jun 2023 22:59:41 +0000 (10:59 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 14 Jun 2023 22:57:35 +0000 (22:57 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/authn_policy_tests.py

index 0fc83726127c224ab1c3e3978f05c798277761ea..deae14b504bbe0228c68c2fabeeab301d7102bad 100755 (executable)
@@ -2145,8 +2145,9 @@ class AuthnPolicyTests(KdcTgsBaseTests):
         mach_sid = self.get_objectSid(samdb, mach_creds.get_dn())
 
         # Create a user account.
-        client_creds = self.get_cached_creds(account_type=self.AccountType.USER,
-                                             use_cache=False)
+        client_creds = self.get_cached_creds(
+            account_type=self.AccountType.USER,
+            use_cache=False)
         client_dn = client_creds.get_dn()
         client_sid = self.get_objectSid(samdb, client_dn)
 
@@ -2596,7 +2597,8 @@ class AuthnPolicyTests(KdcTgsBaseTests):
         self._tgs_req(tgt, KDC_ERR_POLICY, client_creds, target_creds,
                       armor_tgt=mach_tgt,
                       expect_edata=self.expect_padata_outer,
-                      # We aren’t particular about whether or not we get an NTSTATUS.
+                      # We aren’t particular about whether or not we get an
+                      # NTSTATUS.
                       expect_status=None,
                       expected_status=ntstatus.NT_STATUS_INVALID_PARAMETER,
                       check_patypes=False)