class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_generator_flow_notargets(self):
      node_ids = list(self.G.nodes())[:3]
      _, tind, y = self.generator_flow(
          self.G, node_ids, None, sparse=False, method="none"
      )
      np.testing.assert_allclose(tind.squeeze(), range(3))
      _, tind, y = self.generator_flow(
          self.G, node_ids, None, sparse=True, method="none"
      )
      np.testing.assert_allclose(tind.squeeze(), range(3))
  
      node_ids = list(self.G.nodes())
      _, tind, y = self.generator_flow(
          self.G, node_ids, None, sparse=False, method="none"
      )
      np.testing.assert_allclose(tind.squeeze(), range(len(node_ids)))
      _, tind, y = self.generator_flow(
          self.G, node_ids, None, sparse=True, method="none"
      )
      np.testing.assert_allclose(tind.squeeze(), range(len(node_ids)))
  
imports: from stellargraph.core.graph import *
  from stellargraph.mapper import FullBatchGenerator, FullBatchLinkGenerator, FullBatchNodeGenerator
  import networkx
  import numpy
  import random
  import pytest
  import pandas
  import scipy.sparse
  from ..test_utils.graphs import create_graph_features, example_graph_random, example_hin_1, example_graph
label_desc: Use image node_id 5 for calling the Test_FullBatchNodeGenerator obj's underlying member method code with example usage: obj.test_generator_flow_notargets() without return types