code: def test_invalid_project_name():
      print("Check constructor raises error if project name is invalid")
      try:
          H2OAutoML(project_name="1nvalid")
      except Exception as e:
          assert "H2OAutoML" in str(e)
          assert "1nvalid" in str(e)
  
file_path: h2o-3/h2o-py/tests/testdir_algos/automl/pyunit_automl_input.py
imports: import sys, os
  import h2o
  from h2o.automl import H2OAutoML
  from tests import pyunit_utils
  from _automl_utils import import_dataset
label_desc: Use image node_id 1 for calling a global function with example usage: test_invalid_project_name() without return types