def METHOD_NAME(
    client: testclient.TestClient,
    db: orm.Session,
    executor_name: str,
    t4c_server: t4c_models.DatabaseT4CInstance,
):
    users_crud.create_user(db, executor_name, users_models.Role.ADMIN)
    responses.get(
        "http://localhost:8086/status/json",
        status=status.HTTP_200_OK,
        json={"status": {"used": 1, "free": 19, "total": 20}},
    )
    response = client.get(
        f"/api/v1/settings/modelsources/t4c/{t4c_server.id}/licenses",
    )
    assert response.status_code == 200
    assert response.json()["free"] == 19
    assert response.json()["total"] == 20