From: Joseph Sutton Date: Mon, 2 Oct 2023 02:06:45 +0000 (+1300) Subject: tests/krb5: Fix assertion messages X-Git-Tag: tevent-0.16.0~18 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a4ec25b3270544c1611ee7f876be43dd68b9806;p=thirdparty%2Fsamba.git tests/krb5: Fix assertion messages Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/krb5/raw_testcase.py b/python/samba/tests/krb5/raw_testcase.py index af30921aa99..2681356f3cf 100644 --- a/python/samba/tests/krb5/raw_testcase.py +++ b/python/samba/tests/krb5/raw_testcase.py @@ -4576,9 +4576,9 @@ class RawKerberosTest(TestCase): continue if expected_claims: - empty_msg = ', and {claims_type} were expected' + empty_msg = f', and {claims_type} were expected' else: - empty_msg = ' for {claims_type} (should be missing)' + empty_msg = f' for {claims_type} (should be missing)' claims_metadata_ndr = ndr_unpack(claims.CLAIMS_SET_METADATA_NDR, remaining)