code: def test_get_ellipsis():
      result = truncate_string("1234", 3)
      assert_that(result, equal_to("123..."))
      result = truncate_string("1234", 4)
      assert_that(result, equal_to("1234"))
  
file_path: deepchecks/tests/utils/test_string_utils.py
imports: from datetime import datetime
  from hamcrest import assert_that, calling, equal_to, instance_of, matches_regexp, raises
  from deepchecks.utils.strings import format_datetime, truncate_string
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_ellipsis() without return types