code: def test_notebook_not_exists(mocked_ipython, wandb_init, capsys):
      with mock.patch.dict(
          os.environ, {"WANDB_NOTEBOOK_NAME": "fake.ipynb"}
      ):
          run = wandb_init()
          _, err = capsys.readouterr()
          assert "WANDB_NOTEBOOK_NAME should be a path" in err
          run.finish()
  
imports: import json
  import os
  import pathlib
  import platform
  import subprocess
  import sys
  from unittest import mock
  import pytest
  import wandb
  import wandb.jupyter
  import wandb.sdk.lib.apikey
  import wandb.util
label_desc: Use image node_id 9 for calling a global function with example usage: test_notebook_not_exists(mocked_ipython, wandb_init, capsys) without return types