tests/rodc_rwdc: fix message format
authorDouglas Bagnall <douglas.bagnall@catalyst.net.nz>
Sat, 27 Oct 2018 22:08:28 +0000 (11:08 +1300)
committerDouglas Bagnall <dbagnall@samba.org>
Thu, 1 Nov 2018 04:08:13 +0000 (05:08 +0100)
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Noel Power <noel.power@suse.com>
source4/dsdb/tests/python/rodc_rwdc.py

index 2a0c1ed6d600083bc12c8071fdb6dcd1d35090ef..cc715e6e7adf68db61ed85d3f2da9139fd0d3dbf 100644 (file)
@@ -822,7 +822,7 @@ class RodcRwdcTests(password_lockout_base.BasePasswordTestCase):
             except ldb.LdbError as e:
                 (ecode, emsg) = e.args
                 self.fail("Failed to add %s to rwdc: ldb error: %s %s" %
-                          (ecode, emsg))
+                          (o, ecode, emsg))
 
             if cross_ncs:
                 self.force_replication(base=base)