code: def test_project_get_entry_point():
      """Test that `Project` correctly parses entry point information from an MLproject file."""
      project = load_project()
      entry_point = project.get_entry_point("greeter")
      assert entry_point.name == "greeter"
      assert (
          entry_point.command == "python greeter.py {greeting} {name}"
      )
      # Validate parameters
      assert set(entry_point.parameters.keys()) == {"name", "greeting"}
      name_param = entry_point.parameters["name"]
      assert name_param.type == "string"
      assert name_param.default is None
      greeting_param = entry_point.parameters["greeting"]
      assert greeting_param.type == "string"
      assert greeting_param.default == "hi"
  
file_path: mlflow/tests/projects/test_project_spec.py
imports: import os
  import textwrap
  import pytest
  from mlflow.exceptions import ExecutionException
  from mlflow.projects import _project_spec
  from tests.projects.utils import load_project
label_desc: Use image node_id 1 for calling a global function with example usage: test_project_get_entry_point() without return types