def METHOD_NAME(client):
    user = f.UserFactory.create()
    url = reverse("applications-token", args=[-1])
    client.login(user)
    response = client.json.get(url)
    assert response.status_code == 404