def METHOD_NAME(client):
    """
    Checks if the data returned have is on the expected format
    """
    resp = client.get("/mxcube/api/v0.1/diffractometer/aperture")
    data = json.loads(resp.data)
    assert isinstance(data["currentAperture"], int)
    assert isinstance(data["apertureList"], list)