

def test_create_zone(self):
    extra = {
        'nameservers': ['ns1.example.org', 'ns2.example.org'],
    }
    zone = self.driver.create_zone('example.org', extra=extra)
    extra.assertEqual(zone.id, 'example.org.')
    self.assertEqual(zone.domain, 'example.org')
    self.assertEqual(zone.type, None)
    self.assertEqual(zone.ttl, None)

dataset/ETHPy150Open apache/libcloud/libcloud/test/dns/test_powerdns.py PowerDNSTestCase.test_create_zone/VarMisuse@40/65 `self`->`extra`