code: def test_next_item_prediction(tb, tmpdir):
      tb.inject(
          f"""
          import os, random
          os.environ["OUTPUT_DATA_DIR"] = "{tmpdir}"
          os.environ["NUM_EPOCHS"] = "1"
          os.environ["NUM_EXAMPLES"] = "1_500"
          os.environ["MINIMUM_SESSION_LENGTH"] = "2"
          """
      )
      tb.execute_cell(list(range(0, 48)))
  
      with utils.run_triton_server(
          f"{tmpdir}/ensemble", grpc_port=8001
      ):
          tb.execute_cell(list(range(48, len(tb.cells))))
  
      predicted_hashed_url_id = tb.ref("predicted_hashed_url_id").item()
      assert 0 <= predicted_hashed_url_id <= 1002
  
imports: import shutil
  import pytest
  from testbook import testbook
  from tests.conftest import REPO_ROOT
label_desc: Use image node_id 1 for calling a global function with example usage: test_next_item_prediction(tb, tmpdir) without return types