mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22: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:
committed by
Gary Lockyer
parent
2693f12fbe
commit
ab8c0a181b
@ -296,8 +296,8 @@ class KerberosASCanonicalizationTests(RawKerberosTest):
|
|||||||
except pyasn1.error.PyAsn1Error as e:
|
except pyasn1.error.PyAsn1Error as e:
|
||||||
import traceback
|
import traceback
|
||||||
self.fail("ASN1 Error, Options {0:08b}:{1} {2}".format(
|
self.fail("ASN1 Error, Options {0:08b}:{1} {2}".format(
|
||||||
traceback.format_exc(),
|
|
||||||
data.options,
|
data.options,
|
||||||
|
traceback.format_exc(),
|
||||||
e))
|
e))
|
||||||
# If as_req triggered an expected server error response
|
# If as_req triggered an expected server error response
|
||||||
# No need to test the response data.
|
# No need to test the response data.
|
||||||
|
Reference in New Issue
Block a user