class_docstr: Tests of GraphSAGELinkGenerator class
docstr: This tests link generator's iterator for prediction, i.e., without targets provided
docstr_tok: ["This","tests","link","generator","'s","iterator","for","prediction",",","i.e.",",","without","targets","provided"]
code: def test_no_targets(self):
      """
      This tests link generator's iterator for prediction, i.e., without targets provided
      """
      G = example_graph(feature_size=self.n_feat, is_directed=True)
      gen = DirectedGraphSAGELinkGenerator(
          G,
          batch_size=self.batch_size,
          in_samples=self.in_samples,
          out_samples=self.out_samples,
      ).flow(G.edges())
      for i in range(len(gen)):
          assert gen[i][1] is None
  
imports: import numpy
  import networkx
  import pytest
  import random
  from stellargraph.mapper import *
  from stellargraph.core.graph import *
  from stellargraph.data.unsupervised_sampler import *
  from ..test_utils.graphs import example_graph, example_graph_random, example_hin_1, repeated_features, weighted_tree
  from ..None import test_utils
label_desc: Use image node_id 6 for calling the Test_DirectedGraphSAGELinkGenerator obj's underlying member method code with example usage: obj.test_no_targets() without return types