From 0d7f3c756b432d20cd36758989a30784994fbe20 Mon Sep 17 00:00:00 2001 From: Christian Hofstaedtler Date: Sat, 17 Dec 2016 17:17:20 +0100 Subject: [PATCH] API: Add test demonstrating issue #4766 --- regression-tests.api/test_Zones.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regression-tests.api/test_Zones.py b/regression-tests.api/test_Zones.py index 5ef562195..64c73ee06 100644 --- a/regression-tests.api/test_Zones.py +++ b/regression-tests.api/test_Zones.py @@ -936,6 +936,8 @@ fred IN A 192.168.0.4 self.assertNotEquals(serverset['comments'], []) # verify that modified_at has been set by pdns self.assertNotEquals([c for c in serverset['comments']][0]['modified_at'], 0) + # verify that TTL is correct (regression test) + self.assertEquals(serverset['ttl'], 3600) def test_zone_comment_delete(self): # Test: Delete ONLY comments. -- 2.40.0