code: def test_cli_datasets_push_to_huggingface_needs_login(
      cli_runner: "CliRunner", cli: "Typer"
  ) -> None:
      result = cli_runner.invoke(
          cli,
          "datasets --name my-dataset --workspace my-workspace push-to-huggingface --repo-id argilla/my-dataset",
      )
  
      assert (
          "You are not logged in. Please run 'argilla login' to login"
          in result.stdout
      )
      assert result.exit_code == 1
  
imports: from typing import TYPE_CHECKING
  import pytest
label_desc: Use image node_id 1 for calling a global function with example usage: test_cli_datasets_push_to_huggingface_needs_login(cli_runner, cli) without return types