code: def test_remove_note_raises_exception_when_name_not_found(
      mock_get_project: mock.MagicMock, sample_project: project.Project
  ) -> None:
      bindings_project = api_responses.sample_get_project()
      bindings_project.project.notes = [
          bindings.v1Note(name="sample_name", contents="")
      ]
      mock_get_project.return_value = bindings_project
  
      with pytest.raises(ValueError):
          sample_project.remove_note(name="nonexistent_note_name")
  
file_path: determined/harness/tests/determined/common/experimental/test_project.py
imports: from unittest import mock
  import pytest
  import responses
  from determined.common import api
  from determined.common.api import bindings
  from determined.common.experimental import project
  from tests.fixtures import api_responses
label_desc: Use image node_id 4 for calling a global function with example usage: test_remove_note_raises_exception_when_name_not_found(mock_get_project, sample_project) without return types