def METHOD_NAME(self):
    storage = FakeStorage()
    device = {"type": "lease",
              "sd_id": "sd_id",
              "lease_id": "lease_id"}
    with pytest.raises(vmdevices.lease.CannotPrepare):
        vmdevices.lease.prepare(storage, [device])