code: def test_docker_jupyter(runner, docker):
      with runner.isolated_filesystem():
          result = runner.invoke(cli.docker, ["test", "--jupyter"])
          print(result.output)
          print(traceback.print_tb(result.exc_info[2]))
  
          docker.assert_called_once_with(
              [
                  "docker",
                  "run",
                  "-e",
                  "LANG=C.UTF-8",
                  "-e",
                  "WANDB_DOCKER=wandb/deepo@sha256:abc123",
                  "--ipc=host",
                  "-v",
                  wandb.docker.entrypoint + ":/wandb-entrypoint.sh",
                  "--entrypoint",
                  "/wandb-entrypoint.sh",
                  "-v",
                  os.getcwd() + ":/app",
                  "-w",
                  "/app",
                  "-e",
                  "WANDB_API_KEY=test",
                  "-e",
                  "WANDB_ENSURE_JUPYTER=1",
                  "-p",
                  "8888:8888",
                  "test",
                  "/bin/bash",
                  "-c",
                  (
                      "jupyter lab --no-browser --ip=0.0.0.0 --allow-root "
                      "--NotebookApp.token= --notebook-dir /app"
                  ),
              ]
          )
          assert result.exit_code == 0
  
imports: import datetime
  import getpass
  import importlib
  import netrc
  import os
  import subprocess
  import traceback
  from unittest import mock
  import pytest
  import wandb
  from wandb.apis.internal import InternalApi
  from wandb.cli import cli
  from wandb.sdk.lib.apikey import get_netrc_file_path
label_desc: Use image node_id 23 for calling a global function with example usage: test_docker_jupyter(runner, docker) without return types