git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a2c221
)
s4/torture/drs: ndr_upack needs bytes in py3 (samba4.drs.repl_move)
author
Noel Power
<noel.power@suse.com>
Fri, 15 Jun 2018 09:18:30 +0000
(10:18 +0100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 12 Jul 2018 23:12:25 +0000
(
01:12
+0200)
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>
source4/torture/drs/python/repl_move.py
patch
|
blob
|
history
diff --git
a/source4/torture/drs/python/repl_move.py
b/source4/torture/drs/python/repl_move.py
index c5e1de0d9a2f5d83ced9c5b5adcd7cf352392ecf..b53b0c0b1c559945d87cc1c408756244eb8843ec 100644
(file)
--- 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))