code: def test_mock_movielens_schema__get_df_invalid_param__return_failure(
      keep_first_n_cols,
  ):
      with pytest.raises(ValueError, match=r"Invalid value.*"):
          MockMovielensSchema.get_df(
              size=3, keep_first_n_cols=keep_first_n_cols
          )
  
imports: import os
  import gc
  import pandas
  from pandas.core.series import Series
  import pytest
  from pytest_mock import MockerFixture
  from recommenders.utils.constants import DEFAULT_GENRE_COL, DEFAULT_TITLE_COL
  from recommenders.datasets.movielens import MockMovielensSchema
  from recommenders.datasets.movielens import load_pandas_df, load_spark_df, load_item_df, download_movielens, extract_movielens
  from recommenders.datasets.movielens import DATA_FORMAT, MOCK_DATA_FORMAT, DEFAULT_HEADER, DEFAULT_ITEM_COL, DEFAULT_USER_COL
label_desc: Use image node_id 3 for calling a global function with example usage: test_mock_movielens_schema__get_df_invalid_param__return_failure(keep_first_n_cols) without return types