Skip to content

Commit

Permalink
pytest/dns_aging: Check value of ‘dtime’
Browse files Browse the repository at this point in the history
Signed-off-by: Joseph Sutton <[email protected]>
Reviewed-by: Andrew Bartlett <[email protected]>
  • Loading branch information
jsutton24 authored and abartlet committed Aug 30, 2023
1 parent d3bc6fa commit 8e5c998
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/samba/tests/dns_aging.py
Original file line number Diff line number Diff line change
Expand Up @@ -2436,6 +2436,8 @@ def _test_dns_delete_times(self, n_days, aging=True):
rset = set(x.rdata.txt.str[0] for x in r.answers)
self.assertEqual(rset, set('ABCD'))

self.assert_timestamps_equal(dtime, self.get_unique_txt_record(name, D))

self.dns_delete(name, D)
self.assert_timestamps_equal(atime, self.get_unique_txt_record(name, A))
self.assert_timestamps_equal(btime, self.get_unique_txt_record(name, B))
Expand Down

0 comments on commit 8e5c998

Please sign in to comment.