async def METHOD_NAME(self, project_id):
    result = await api.projects.set_project_name(
        project_id=project_id, name="my-new-name"
    )
    project = await models.Project.where(id=project_id).first({"name"})
    assert result is True
    assert project.name == "my-new-name"