code: def test_create_index():
      """Create an index in the cluster"""
  
      create_index_url = f"{NODE}/{INDEX}"
      res = requests.put(create_index_url, headers=HEADERS)
      assert res.status_code == 200
  
file_path: io/tests/test_elasticsearch.py
imports: import time
  import json
  import pytest
  import socket
  import requests
  import tensorflow
  from tensorflow import feature_column
  from tensorflow.keras import layers
  import tensorflow_io
label_desc: Use image node_id 2 for calling a global function with example usage: test_create_index() without return types