code: def test_hop_source_query(self):
      g = hops_graph()
      g2 = g.hop(
          source_node_query='node == "d"', direction="forward", hops=1
      )
      assert g2._nodes.shape == (6, 2)
      assert g2._edges.shape == (5, 3)
  
imports: import pandas
  from common import NoAuthTestCase
  from functools import lru_cache
  from graphistry.compute.ast import is_in
  from graphistry.tests.test_compute import CGFull
label_desc: Use image node_id 1 for calling the TestComputeHopMixinQuery obj's underlying member method code with example usage: obj.test_hop_source_query() without return types