code: def test_workspaceid_set() -> None:
      admin_session = api_utils.determined_test_session(admin=True)
  
      with setup_workspaces(admin_session) as [workspace]:
          # create a command inside the workspace
          cmd = bindings.post_LaunchCommand(
              admin_session,
              body=bindings.v1LaunchCommandRequest(
                  workspaceId=workspace.id
              ),
          ).command
          assert cmd.workspaceId == workspace.id
  
          cmd = bindings.get_GetCommand(
              admin_session, commandId=cmd.id
          ).command
          assert cmd.workspaceId == workspace.id
  
imports: import contextlib
  import os
  import tempfile
  import uuid
  from http import HTTPStatus
  from typing import Generator, List, Optional
  import pytest
  from determined.common import api
  from determined.common.api import authentication, bindings, errors
  from determined.common.api._util import NTSC_Kind, wait_for_ntsc_state
  from determined.common.api.errors import APIException
  from tests import api_utils
  from tests import config
  from tests.cluster.test_users import change_user_password, logged_in_user
  from tests.experiment import run_basic_test, wait_for_experiment_state
  from .test_agent_user_group import _delete_workspace_and_check
  from .test_groups import det_cmd, det_cmd_json
label_desc: Use image node_id 7 for calling a global function with example usage: test_workspaceid_set() without return types