code: def test_query_graph(self):
      for name, g in zip(
          ["ngrams", "embedding"], [self.g_ngrams, self.g_emb]
      ):
          res = g.search_graph("How to set up DNS", thresh=100)
          assert (
              not res._nodes.empty
          ), f"{name}-Results DataFrame should not be empty, found {res._nodes}"
          # url = res.plot(render=False)
          # logger.info(f'{name}: {url}')
  
      res = self.g_with_edges.search_graph("Wife", thresh=100)
      assert (
          not res._nodes.empty
      ), f"Results DataFrame should not be empty, found {res._nodes}"
  
file_path: pygraphistry/graphistry/tests/test_text_utils.py
imports: import pytest
  import unittest
  import warnings
  import graphistry
  import logging
  import numpy
  import pandas
  from graphistry.feature_utils import remove_internal_namespace_if_present
  from graphistry.tests.test_feature_utils import ndf_reddit, edge_df, lazy_import_has_min_dependancy
  from graphistry.umap_utils import lazy_umap_import_has_dependancy
label_desc: Use image node_id 2 for calling the TestTextSearch obj's underlying member method code with example usage: obj.test_query_graph() without return types