def test_convert_empty_session():
  """Test conversion function with empty events list in Session."""
  # Pydantic models require mandatory fields for instantiation
  session_empty_events = Session(
      id="s1", app_name="app", user_id="u1", events=[]
  )
  assert not convert_session_to_eval_format(session_empty_events)
Test conversion function with empty events list in Session.
tests/unittests/cli/utils/test_evals.py