code: def test_notebook_execution_with_parameters(
      notebook_programmatic,
      output_notebook,
      kernel_name,
      parameters,
      expected_key,
      expected_value,
  ):
      """Test that the notebook executes."""
      execute_notebook(
          notebook_programmatic,
          output_notebook,
          kernel_name=kernel_name,
          parameters=parameters,
      )
  
      results = read_notebook(output_notebook)
      assert results[expected_key] == expected_value
  
file_path: recommenders/tests/unit/recommenders/utils/test_notebook_utils.py
imports: import pytest
  import nbclient
  from pathlib import Path
  from recommenders.utils.notebook_utils import is_jupyter, is_databricks, execute_notebook, read_notebook, _update_parameters
label_desc: Use image node_id 7 for calling a global function with example usage: test_notebook_execution_with_parameters(notebook_programmatic, output_notebook, kernel_name, parameters, expected_key, expected_value) without return types