code: def test_query_index(client):
      client.ts().create(1, labels={"Test": "This"})
      client.ts().create(2, labels={"Test": "This", "Taste": "That"})
      assert 2 == len(client.ts().queryindex(["Test=This"]))
      assert 1 == len(client.ts().queryindex(["Taste=That"]))
      assert_resp_response(
          client, client.ts().queryindex(["Taste=That"]), [2], {"2"}
      )
  
imports: import math
  import time
  from time import sleep
  import pytest
  import redis
  from .conftest import assert_resp_response, is_resp2_connection, skip_ifmodversion_lt
label_desc: Use image node_id 32 for calling a global function with example usage: test_query_index(client) without return types