code: def notebookapp(jp_serverapp, make_notebook_app):
      app = make_notebook_app()
      app._link_jupyter_server_extension(jp_serverapp)
      app.initialize()
      return app
  
file_path: notebook/tests/conftest.py
imports: import glob
  import json
  import os
  import os.path
  import pathlib
  import shutil
  import sys
  import pytest
  from notebook.app import JupyterNotebookApp
label_desc: Use image node_id 3 for calling a global function with example usage: notebookapp(jp_serverapp, make_notebook_app) and returns: app