'>>> driver = DummyDNSDriver(\'key\', \'secret\')
>>> zone = driver.create_zone(domain=\'apache.org\', type=\'master\',
...                           ttl=100)
>>> driver.delete_zone(zone)
True
>>> driver.delete_zone(zone) #doctest: +IGNORE_EXCEPTION_DETAIL
Traceback (most recent call last):
ZoneDoesNotExistError:
@inherits: :class:`DNSDriver.delete_zone`'

def delete_zone(self, zone):

    self.get_zone(zone_id=zone.id)
    del self._zones[zone.id]
    return True
