code: def test_login_timeout_env_blank(mock_tty):
      mock_tty("\n\n\n")
      with mock.patch.dict(os.environ, {"WANDB_LOGIN_TIMEOUT": "4"}):
          start_time = time.time()
          ret = wandb.login()
          elapsed = time.time() - start_time
          assert elapsed < 15
          assert ret is False
          assert wandb.api.api_key is None
          assert wandb.setup().settings.mode == "disabled"
  
imports: import os
  import platform
  import queue
  import sys
  import tempfile
  import threading
  import time
  from unittest import mock
  import pytest
  import wandb
label_desc: Use image node_id 4 for calling a global function with example usage: test_login_timeout_env_blank(mock_tty) without return types