code: def test_user_edit_no_fields(mock_die: mock.MagicMock) -> None:
      with util.standard_cli_rsps() as rsps:
          userobj = bindings.v1User(
              active=True, admin=False, username="det-user", id=101
          )
          rsps.get(
              "http://localhost:8080/api/v1/users/det-user/by-username",
              status=200,
              json={"user": userobj.to_json()},
          )
  
          # No edited field should result in error
          cli.main(["user", "edit", "det-user"])
          mock_die.assert_has_calls(
              [
                  mock.call(
                      "No field provided. Use 'det user edit -h' for usage.",
                      exit_code=1,
                  )
              ]
          )
  
file_path: determined/harness/tests/cli/test_user.py
imports: from unittest import mock
  from responses import matchers
  from determined.cli import cli
  from determined.common import api
  from determined.common.api import bindings
  from tests.cli import util
label_desc: Use image node_id 2 for calling a global function with example usage: test_user_edit_no_fields(mock_die) without return types