summaryrefslogtreecommitdiff
path: root/python/samba/tests/dns.py
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2014-05-16 18:33:42 +0200
committerKarolin Seeger <kseeger@samba.org>2014-09-08 07:49:09 +0200
commiteb0e0b13600f9f26250ee118c04dd347456423d2 (patch)
tree656a2f26c3490111e5423deaf23dda3036f95bcf /python/samba/tests/dns.py
parent748e78eb6d64ba48a729e67fedb2614b39d79ff8 (diff)
downloadsamba-eb0e0b13600f9f26250ee118c04dd347456423d2.tar.gz
provision: Correctly provision the SOA record minimum TTL
This fixes bug #10466 Signed-off-by: Kai Blin <kai@samba.org> Reviewed-by: Guenter Kukkukk <kukks@samba.org> Autobuild-User(master): Kai Blin <kai@samba.org> Autobuild-Date(master): Wed May 21 10:55:00 CEST 2014 on sn-devel-104 (cherry picked from commit 634f116fbb89d723a627f4501b4cd89342cecb8e)
Diffstat (limited to 'python/samba/tests/dns.py')
-rw-r--r--python/samba/tests/dns.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py
index 79e4158b67b..2983de34ac5 100644
--- a/python/samba/tests/dns.py
+++ b/python/samba/tests/dns.py
@@ -289,6 +289,7 @@ class TestSimpleQueries(DNSTest):
self.assert_dns_rcode_equals(response, dns.DNS_RCODE_OK)
self.assert_dns_opcode_equals(response, dns.DNS_OPCODE_QUERY)
self.assertEquals(response.ancount, 1)
+ self.assertEquals(response.answers[0].rdata.minimum, 3600)
class TestDNSUpdates(DNSTest):