class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_generator_flow_targets_as_list(self):
      generator = FullBatchNodeGenerator(self.G)
      node_ids = list(self.G.nodes())[:3]
      node_targets = [1] * len(node_ids)
      gen = generator.flow(node_ids, node_targets)
  
      inputs, y = gen[0]
      assert y.shape == (1, 3)
      assert np.sum(y) == 3
  
imports: from stellargraph.core.graph import *
  from stellargraph.mapper import *
  import networkx
  import numpy
  import random
  import pytest
  import pandas
  import scipy.sparse
  from ..test_utils.graphs import example_graph, example_graph_random, example_hin_1, create_graph_features, repeated_features, weighted_tree
  from ..None import test_utils
label_desc: Use image node_id 7 for calling the Test_FullBatchNodeGenerator obj's underlying member method code with example usage: obj.test_generator_flow_targets_as_list() without return types