From: Douglas Bagnall Date: Mon, 14 Jun 2021 11:36:04 +0000 (+1200) Subject: pytest: dns_aging: correct typo mis-assertions in 2 tests X-Git-Tag: tevent-0.11.0~309 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=983955a2bc810248726339deb63fbe9ebc783563;p=thirdparty%2Fsamba.git pytest: dns_aging: correct typo mis-assertions in 2 tests Signed-off-by: Douglas Bagnall Reviewed-by: Andrew Bartlett --- diff --git a/python/samba/tests/dns_aging.py b/python/samba/tests/dns_aging.py index 619d6be69f0..882f730ee55 100644 --- a/python/samba/tests/dns_aging.py +++ b/python/samba/tests/dns_aging.py @@ -1043,7 +1043,7 @@ class TestDNSAging(DNSTest): self.assert_timestamps_equal(timestamp2, timestamp3) self.ldap_delete_record(name, txt3) - timestamp2 = self.dns_update_record(name, txt3).dwTimeStamp + timestamp3 = self.dns_update_record(name, txt3).dwTimeStamp self.assert_soon_after(timestamp3, current_time) timestamp1 = self.get_unique_txt_record(name, txt1).dwTimeStamp timestamp2 = self.get_unique_txt_record(name, txt2).dwTimeStamp @@ -1481,7 +1481,7 @@ class TestDNSAging(DNSTest): self.assert_timestamps_equal(timestamp2, n_days_ago) self.ldap_delete_record(name, txt3) - timestamp2 = self.dns_update_record(name, txt3).dwTimeStamp + timestamp3 = self.dns_update_record(name, txt3).dwTimeStamp self.assert_soon_after(timestamp3, current_time) timestamp1 = self.get_unique_txt_record(name, txt1).dwTimeStamp timestamp2 = self.get_unique_txt_record(name, txt2).dwTimeStamp