code: def test_delete_collection_success(sagemaker_session):
      collection = Collection(sagemaker_session)
      delete_response = collection.delete(collections=[COLLECTION_NAME])
      assert len(delete_response["deleted_collections"]) == 1
      assert len(delete_response["delete_collection_failures"]) == 0
  
file_path: sagemaker-python-sdk/tests/unit/test_collection.py
imports: from __future__ import absolute_import
  import pytest
  import json
  from mock import Mock
  from sagemaker.collection import Collection
label_desc: Use image node_id 3 for calling a global function with example usage: test_delete_collection_success(sagemaker_session) without return types