code: def binary_collection(request, connect):
      ori_collection_name = getattr(
          request.module, "collection_id", "test"
      )
      collection_name = gen_unique_str(ori_collection_name)
      try:
          fields = gen_binary_default_fields()
          connect.create_collection(
              collection_name,
              fields,
              consistency_level=CONSISTENCY_STRONG,
          )
      except Exception as e:
          pytest.exit(str(e))
  
      def teardown():
          collection_names = connect.list_collections()
          if connect.has_collection(collection_name):
              connect.drop_collection(
                  collection_name, timeout=delete_timeout
              )
  
      request.addfinalizer(teardown)
      assert connect.has_collection(collection_name)
      return collection_name
  
imports: import logging
  import pytest
  import functools
  import socket
  import common.common_type
  import common.common_func
  from utils.util_log import test_log
  from common.common_func import param_info
  from check.param_check import ip_check, number_check
  from config.log_config import log_config
  from utils.util_pymilvus import get_milvus, gen_unique_str, gen_default_fields, gen_binary_default_fields
  from pymilvus.orm.types import CONSISTENCY_STRONG
label_desc: Use image node_id 50 for calling a global function with example usage: binary_collection(request, connect) and returns: collection_name