]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
tests/krb5: Remove unnecessary f‐strings
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 18 Oct 2023 03:02:36 +0000 (16:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Oct 2023 21:37:36 +0000 (21:37 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
python/samba/tests/krb5/lockout_tests.py

index 3fe098a662d858b30212750a1293b1069ce83813..d91eb1df79d1f71690fc08c35d77b02ceeb207e7 100755 (executable)
@@ -812,8 +812,8 @@ class LockoutTests(KDCBaseTest):
                 # modification, so that the account is also added to the
                 # auxiliary bad password database.
 
-                old_utf16pw = f'"Secret007"'.encode('utf-16le')  # invalid pwd
-                new_utf16pw = f'"Secret008"'.encode('utf-16le')
+                old_utf16pw = '"Secret007"'.encode('utf-16le')  # invalid pwd
+                new_utf16pw = '"Secret008"'.encode('utf-16le')
 
                 msg = ldb.Message(user_dn)
                 msg['0'] = ldb.MessageElement(old_utf16pw,