code: def test_run_get_recommendation_visualizations(
      implicit_model,
      movielens_explicit_df_not_decremented,
      movielens_df_item,
      movielens_posters_df,
      supply_df_user,
      supply_df_item,
      supply_movielens_posters_df,
  ):
      html_not_detailed = get_recommendation_visualizations(
          model=implicit_model,
          user_id=42,
          df_user=movielens_explicit_df_not_decremented
          if supply_df_user
          else None,
          df_item=movielens_df_item if supply_df_item else None,
          movielens_posters_df=movielens_posters_df
          if supply_movielens_posters_df
          else None,
          filter_films=False,
          shuffle=False,
          detailed=False,
      )
      assert len(html_not_detailed) > 0
  
      html_detailed = get_recommendation_visualizations(
          model=implicit_model,
          user_id=42,
          df_user=movielens_explicit_df_not_decremented
          if supply_df_user
          else None,
          df_item=movielens_df_item if supply_df_item else None,
          movielens_posters_df=movielens_posters_df
          if supply_movielens_posters_df
          else None,
          filter_films=True,
          shuffle=True,
          detailed=True,
      )
      assert len(html_detailed) > 0
  
      assert len(html_not_detailed) < len(html_detailed)
  
file_path: collie/tests/test_movielens.py
imports: from unittest import mock
  import urllib
  import pandas
  import pytest
  from collie.movielens import get_recommendation_visualizations, read_movielens_posters_df, run_movielens_example
label_desc: Use image node_id 9 for calling a global function with example usage: test_run_get_recommendation_visualizations(implicit_model, movielens_explicit_df_not_decremented, movielens_df_item, movielens_posters_df, supply_df_user, supply_df_item, supply_movielens_posters_df) without return types