]> granicus.if.org Git - pdns/commitdiff
auth: Fix the "cname at ENT" API test
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 7 May 2019 09:54:44 +0000 (11:54 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 7 May 2019 09:54:44 +0000 (11:54 +0200)
Rectify is only run for DNSSEC-secured zones and otherwise we have
no ENT to test that the conflict is properly resolved.

regression-tests.api/test_Zones.py

index ff756bad0a33c776e90192ea14a9779c36386803..514cea8e0ee2b72ad1e47d5b0ab7a5a3815aa468 100644 (file)
@@ -1801,7 +1801,7 @@ $ORIGIN %NAME%
         self.assertIsNone(dbrecs[0]['ordername'])
 
     def test_cname_at_ent_place(self):
-        name, payload, zone = self.create_zone(api_rectify=True)
+        name, payload, zone = self.create_zone(dnssec=True, api_rectify=True)
         rrset = {
             'changetype': 'replace',
             'name': 'sub2.sub1.' + name,