def test_acquire_with_expiration(self):
        self.clock.advance(self.now)
        expires = 60
        expected_expiration = datetime.fromtimestamp(
            self.clock.seconds() + expires, UTC)
        d = self.acquire_lease(expires)

        def acquired(_):
            self.assertEqual(
                self.persistence_service.get().leases[self.dataset3],
                Lease(dataset_id=self.dataset3, node_id=self.node3,
                      expiration=expected_expiration))
        d.addCallback(acquired)
        return d
Add a new alias to a zone.  identifier and weight are optional.
dataset/ETHPy150Open ClusterHQ/flocker/flocker/control/test/test_httpapi.py/LeasesTestsMixin.test_acquire_with_expiration--crossover with--dataset/ETHPy150Open denizalti/concoord/concoord/route53.py/add_alias