def METHOD_NAME(settings):
    # given
    payload = {"1": "A", "2": "B"}
    # when
    token = jwt_encode(payload)
    # then
    headers = jwt.get_unverified_header(token)
    assert headers.get("alg") == "RS256"