code: def test_PUBDEV_2980_for_kmeans():
      """
      Create and instantiate class and perform tests specified for kmeans
  
      :return: None
      """
      test_kmeans_grid = Test_PUBDEV_2980_kmeans()
      test_kmeans_grid.test_kmeans_fields()
  
      sys.stdout.flush()
  
      if (
          test_kmeans_grid.test_failed
      ):  # exit with error if any tests have failed
          sys.exit(1)
  
file_path: h2o-3/h2o-py/dynamic_tests/testdir_algos/kmeans/pyunit_PUBDEV_2980_kmeans_badfields_NOPASS.py
imports: import sys
  import random
  import os
  from builtins import range
  import time
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.kmeans import H2OKMeansEstimator
  from h2o.grid.grid_search import H2OGridSearch
label_desc: Use image node_id 1 for calling a global function with example usage: test_PUBDEV_2980_for_kmeans() without return types