code: def test_workspace_constructor_errors_when_no_workspace_found(
      standard_session: api.Session,
  ) -> None:
      resp = bindings.v1GetWorkspacesResponse(
          workspaces=[], pagination=api_responses.empty_get_pagination()
      )
  
      responses.get(f"{_MASTER}/api/v1/workspaces", json=resp.to_json())
      with pytest.raises(errors.NotFoundException):
          workspace.Workspace(
              session=standard_session, workspace_name="not_found"
          )
  
file_path: determined/harness/tests/determined/common/experimental/test_workspace.py
imports: import pytest
  import responses
  from determined.common import api
  from determined.common.api import bindings, errors
  from determined.common.experimental import workspace
  from tests.fixtures import api_responses
label_desc: Use image node_id 6 for calling a global function with example usage: test_workspace_constructor_errors_when_no_workspace_found(standard_session) without return types