code: def test_len_args(dataframe):
      """Raise ValueError if `args` length is less than 2."""
      with pytest.raises(
          ValueError,
          match="At least two arguments are required for the `args` parameter",
      ):
          dataframe.case_when(
              dataframe.a < 10, default="less_than_10", column_name="a"
          )
  
imports: import numpy
  import pandas
  import pytest
  from hypothesis import given, settings
  from pandas.testing import assert_frame_equal
  from janitor.testing_utils.strategies import categoricaldf_strategy, df_strategy
label_desc: Use image node_id 2 for calling a global function with example usage: test_len_args(dataframe) without return types