'An lease has an expiry date/time after the specified number
of seconds from the time of acquisition.'

def test_lease_expiry_datetime(self):

    expected_expiration = (self.now + datetime.timedelta(seconds=self.lease_duration))
    leases = self.leases.acquire(self.now, self.dataset_id, self.node_id, self.lease_duration)
    lease = leases.get(self.dataset_id)
    self.assertEqual(lease.expiration, expected_expiration)
