1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-22 16:59:09 +03:00

selftest: Fix formatting of failure (traceback and options swapped in format string)

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett
2020-11-10 11:21:24 +13:00
committed by Gary Lockyer
parent 2693f12fbe
commit ab8c0a181b

View File

@ -296,8 +296,8 @@ class KerberosASCanonicalizationTests(RawKerberosTest):
except pyasn1.error.PyAsn1Error as e:
import traceback
self.fail("ASN1 Error, Options {0:08b}:{1} {2}".format(
traceback.format_exc(),
data.options,
traceback.format_exc(),
e))
# If as_req triggered an expected server error response
# No need to test the response data.