code: def test_get_unique_resource_id_with_invalid_max_length_throws_exception():
      match = "unique resource id must be positive"
      with pytest.raises(ValueError, match=match):
          get_unique_resource_id(max_length=-50)
  
      with pytest.raises(ValueError, match=match):
          get_unique_resource_id(max_length=0)
  
file_path: mlflow/tests/utils/test_utils.py
imports: from unittest import mock
  import pytest
  from mlflow.utils import _chunk_dict, _get_fully_qualified_class_name, _truncate_dict, get_unique_resource_id, merge_dicts
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_unique_resource_id_with_invalid_max_length_throws_exception() without return types