Esempio n. 1
0
 def test_delete_soa_record(self):
     """Delete SOA record; return True."""
     type = 'SOA'
     ns = 'ns0.aethernet.local'
     email = 'test.aethernet.local'
     soa = SpokeDNSSOA(self.org_name, self.dns_zone_name)
     soa.create(ns, email)
     self.assertTrue(soa.delete(type))
Esempio n. 2
0
 def test_delete_soa_record(self):
     """Delete SOA record; return True."""
     type = 'SOA'
     ns = 'ns0.aethernet.local'
     email = 'test.aethernet.local'
     soa = SpokeDNSSOA(self.org_name, self.dns_zone_name)
     soa.create(ns, email)
     self.assertTrue(soa.delete(type))