def METHOD_NAME(creds):
    assert creds is fake_creds
    def add_auth(request):
        request.url == expected_url
        request.headers["AUTH"] = "TOKEN"
    return SimpleNamespace(add_auth=add_auth)