

def test_get_zone(self):
    zone = self.driver.get_zone('example.com.')
    self.assertEqual(zone.id, 'example.com.')
    self.assertEqual(zone.domain, 'example.com')
    self.assertEqual(zone.type, None)
    self.assertEqual(zone.ttl, None)

dataset/ETHPy150Open apache/libcloud/libcloud/test/dns/test_powerdns.py PowerDNSTestCase.test_get_zone/original