]> git.ipfire.org Git - thirdparty/samba.git/commit
python:tests: pass bytes.decode() instead of str(bytes) to assertMultiLineEqual(...
authorStefan Metzmacher <metze@samba.org>
Mon, 15 Jul 2024 18:14:46 +0000 (20:14 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 16 Jul 2024 07:40:41 +0000 (07:40 +0000)
commita3856ee4dc8ae1e4ab2f56df50a8a90f7ef33b0a
tree2c764d98032824e4b81354ecbd7068fc994dd43b
parent6f3545cecad810793d8eabb5a7c9fa41af964fc0
python:tests: pass bytes.decode() instead of str(bytes) to assertMultiLineEqual() to get better failure output

When not equal a diff of the two strings highlighting the differences
will be included this way.

This is a flapping test.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Tue Jul 16 07:40:41 UTC 2024 on atb-devel-224
python/samba/tests/dckeytab.py