def METHOD_NAME(session):
    notify_new_session(session)
    notification = Notification.query.first()
    assert notification.user_id == session.event.owner.id
    assert notification.content.type == NotificationType.NEW_SESSION
    assert notification.content.target == session
    assert notification.content.actors[0].actor == session.creator