Commit 87eaadf1 authored by Daniel Salzman's avatar Daniel Salzman Committed by Jan Kadlec
Browse files

tests-extra: fix ixfr diff log

parent 56a4027c
...@@ -312,8 +312,8 @@ class Test(object): ...@@ -312,8 +312,8 @@ class Test(object):
if self.soa_old != other.soa_old: if self.soa_old != other.soa_old:
set_err("IXFR CHANGE DIFF") set_err("IXFR CHANGE DIFF")
detail_log("!Different remove SOA:") detail_log("!Different remove SOA:")
print(" %s" % self.soa_old) detail_log(" %s" % self.soa_old)
print(" %s" % other.soa_old) detail_log(" %s" % other.soa_old)
if len(self.removed) != len(other.removed): if len(self.removed) != len(other.removed):
set_err("IXFR CHANGE DIFF") set_err("IXFR CHANGE DIFF")
...@@ -325,14 +325,14 @@ class Test(object): ...@@ -325,14 +325,14 @@ class Test(object):
if rem1 != rem2: if rem1 != rem2:
set_err("IXFR CHANGE DIFF") set_err("IXFR CHANGE DIFF")
detail_log("!Different remove records:") detail_log("!Different remove records:")
print(" %s" % rem1) detail_log(" %s" % rem1)
print(" %s" % rem2) detail_log(" %s" % rem2)
if self.soa_new != other.soa_new: if self.soa_new != other.soa_new:
set_err("IXFR CHANGE DIFF") set_err("IXFR CHANGE DIFF")
detail_log("!Different add SOA:") detail_log("!Different add SOA:")
print(" %s" % self.soa_new) detail_log(" %s" % self.soa_new)
print(" %s" % other.soa_new) detail_log(" %s" % other.soa_new)
if len(self.added) != len(other.added): if len(self.added) != len(other.added):
set_err("IXFR CHANGE DIFF") set_err("IXFR CHANGE DIFF")
...@@ -344,8 +344,8 @@ class Test(object): ...@@ -344,8 +344,8 @@ class Test(object):
if add1 != add2: if add1 != add2:
set_err("IXFR CHANGE DIFF") set_err("IXFR CHANGE DIFF")
detail_log("!Different add records:") detail_log("!Different add records:")
print(" %s" % add1) detail_log(" %s" % add1)
print(" %s" % add2) detail_log(" %s" % add2)
def _ixfr_changes(self, server, zone, serial, udp): def _ixfr_changes(self, server, zone, serial, udp):
soa = None soa = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment