def METHOD_NAME(self, sd_id, lease_id, offset):
    kwargs = {"type": vmdevices.hwclass.LEASE,
              "sd_id": sd_id,
              "lease_id": lease_id,
              "path": "/dev/%s/xleases" % sd_id,
              "offset": offset}
    lease = vmdevices.lease.Device(self.log, **kwargs)
    conf = vmdevices.lease.find_conf(self.conf(), lease)
    assert conf["sd_id"] == sd_id
    assert conf["lease_id"] == lease_id