code: def test_login_with_invalid_extra_headers(
      cli_runner: "CliRunner", cli: "Typer"
  ):
      result = cli_runner.invoke(
          cli,
          'login --api-url http://localhost:6900 --api-key api.key --workspace my_workspace --extra-headers "{\\"X-Unit-Test\\": \\"true\\""',
      )
  
      assert result.exit_code == 1
  
imports: from typing import TYPE_CHECKING
label_desc: Use image node_id 3 for calling a global function with example usage: test_login_with_invalid_extra_headers(cli_runner, cli) without return types