code: def test_grid_search_for_naivebayes_over_all_params():
      """
      Create and instantiate class and perform tests specified for naive bayes
  
      :return: None
      """
      test_naivebayes_grid = Test_naivebayes_grid_search()
      test_naivebayes_grid.test_naivebayes_grid_search_over_params()
  
      sys.stdout.flush()
  
      if (
          test_naivebayes_grid.test_failed
      ):  # exit with error if any tests have failed
          sys.exit(1)
  
file_path: h2o-3/h2o-py/dynamic_tests/testdir_algos/naivebayes/pyunit_naivebayes_gridsearch_over_all_params_large.py
imports: import sys
  import random
  import os
  from builtins import range
  import time
  import json
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.naive_bayes import H2ONaiveBayesEstimator
  from h2o.grid.grid_search import H2OGridSearch
label_desc: Use image node_id 1 for calling a global function with example usage: test_grid_search_for_naivebayes_over_all_params() without return types