code: def test_studio_login_token_check_failed(mocker):
      mocker.patch(
          "dvc_studio_client.auth.get_access_token",
          side_effect=AuthenticationExpired,
      )
  
      assert main(["studio", "login"]) == 1
  
file_path: dvc/tests/unit/command/test_studio.py
imports: from dvc_studio_client.auth import AuthenticationExpired
  from dvc.cli import main
  from dvc.utils.studio import STUDIO_URL
label_desc: Use image node_id 1 for calling a global function with example usage: test_studio_login_token_check_failed(mocker) without return types