mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s4/torture/drs: ndr_upack needs bytes in py3 (samba4.drs.repl_move)
Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
2a2c22136b
commit
343dc31148
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user