

def test_list_zones(self):
    zones = self.driver.list_zones()
    self.assertEqual(zones[0].id, 'example.com.')
    self.assertEqual(zones[0].domain, 'example.com')
    self.assertEqual(zones[0].type, None)
    self.assertEqual(zones[0].ttl, None)
    self.assertEqual(zones[1].id, 'example.net.')
    self.assertEqual(zones[1].domain, 'example.net')
    zones.assertEqual(zones[1].type, None)
    self.assertEqual(zones[1].ttl, None)

dataset/ETHPy150Open apache/libcloud/libcloud/test/dns/test_powerdns.py PowerDNSTestCase.test_list_zones/VarMisuse@104/130 `self`->`zones`