mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
pytest/dns_aging: use correct variable names
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
This commit is contained in:
parent
b5e2651f1c
commit
524ca3c6d2
@ -2146,7 +2146,7 @@ class TestDNSAging(DNSTest):
|
||||
# D is scavengeable
|
||||
atime = self.dns_update_record(A, A).dwTimeStamp
|
||||
btime = self.ldap_update_record(B, B, dwTimeStamp=now-20).dwTimeStamp
|
||||
btime = self.ldap_update_record(C, C, dwTimeStamp=now-40).dwTimeStamp
|
||||
ctime = self.ldap_update_record(C, C, dwTimeStamp=now-40).dwTimeStamp
|
||||
dtime = self.ldap_update_record(D, D, dwTimeStamp=now-60).dwTimeStamp
|
||||
self.assert_soon_after(atime, now)
|
||||
self.assert_timestamps_equal(btime, now-20)
|
||||
@ -2158,7 +2158,7 @@ class TestDNSAging(DNSTest):
|
||||
# D should be gone (tombstoned)
|
||||
r = self.get_unique_txt_record(D, D)
|
||||
self.assertIsNone(r)
|
||||
r = dns_query(self, D, qtype=dns.DNS_QTYPE_TXT)
|
||||
r = self.dns_query(D, qtype=dns.DNS_QTYPE_TXT)
|
||||
self.assertEqual(r.ancount, 0)
|
||||
recs = self.ldap_get_records(D)
|
||||
self.assertEqual(len(recs), 1)
|
||||
|
Loading…
Reference in New Issue
Block a user