def test_get_all_user_permissions(project, admin_user, admin_client):  # type: ignore[no-untyped-def]
    """Basic integration test to verify that endpoint works"""
    url = reverse("api-v1:projects:all-user-permissions", args=(project, admin_user.id))
    response = admin_client.get(url)
    assert response.status_code == status.HTTP_200_OK
    response_json = response.json()
    assert response_json["admin"] is True
    assert response_json["permissions"] == []
Basic integration test to verify that endpoint works
api/tests/integration/projects/test_integration_projects.py