예제 #1
0
파일: test_dns.py 프로젝트: mattmb/spoke
 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))
예제 #2
0
파일: test_dns.py 프로젝트: mattmb/spoke
 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))