code: def test_create_collection():
      assert_read_write(
          "PUT",
          "/collections/test_collection",
          {
              "vectors": {"size": 4, "distance": "Dot"},
              "optimizers_config": {"default_segment_number": 2},
              "replication_factor": 2,
          },
      )
  
file_path: qdrant/tests/api_key/test_rest.py
imports: import requests
  import pytest
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_collection() without return types