From: Noel Power Date: Fri, 15 Jun 2018 09:18:30 +0000 (+0100) Subject: s4/torture/drs: ndr_upack needs bytes in py3 (samba4.drs.repl_move) X-Git-Tag: ldb-1.5.0~291 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=343dc311486a07be0830e15311c548d1ab53b7cf;p=thirdparty%2Fsamba.git s4/torture/drs: ndr_upack needs bytes in py3 (samba4.drs.repl_move) Signed-off-by: Noel Power Reviewed-by: Andreas Schneider Reviewed-by: Douglas Bagnall --- diff --git a/source4/torture/drs/python/repl_move.py b/source4/torture/drs/python/repl_move.py index c5e1de0d9a2..b53b0c0b1c5 100644 --- a/source4/torture/drs/python/repl_move.py +++ b/source4/torture/drs/python/repl_move.py @@ -107,7 +107,7 @@ class DrsMoveObjectTestCase(drs_base.DrsBaseTestCase): return "DrsMoveU_" + time.strftime("%s", time.gmtime()) def _check_metadata(self, user_dn, sam_ldb, drs, metadata, expected): - repl = ndr_unpack(drsblobs.replPropertyMetaDataBlob, str(metadata[0])) + repl = ndr_unpack(drsblobs.replPropertyMetaDataBlob, metadata[0]) self.assertEqual(len(repl.ctr.array), len(expected))