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
).communicate()[0]
self.maxDiff = None # No maximum length of diffs.
- self.assertMultiLineEqual(str(keytab_orig_content), str(keytab_content))
+ self.assertMultiLineEqual(keytab_orig_content.decode(),
+ keytab_content.decode())
# Parse the first entry in the keytab
with open(self.ktfile, 'rb') as bytes_kt: