code: def test_push_to_huggingface(
      self,
      cli_runner: "CliRunner",
      cli: "Typer",
      mocker: "MockerFixture",
      feedback_dataset: "FeedbackDataset",
      remote_feedback_dataset: "RemoteFeedbackDataset",
  ) -> None:
      dataset_from_argilla_mock = mocker.patch(
          "argilla.client.feedback.dataset.local.dataset.FeedbackDataset.from_argilla",
          return_value=remote_feedback_dataset,
      )
      dataset_pull_mock = mocker.patch(
          "argilla.client.feedback.dataset.remote.dataset.RemoteFeedbackDataset.pull",
          return_value=feedback_dataset,
      )
      push_to_huggingface_mock = mocker.patch(
          "argilla.client.feedback.integrations.huggingface.dataset.HuggingFaceDatasetMixin.push_to_huggingface",
          return_value=None,
      )
  
      result = cli_runner.invoke(
          cli,
          "datasets --name my-dataset --workspace my-workspace push-to-huggingface --repo-id argilla/my-dataset --private",
      )
  
      assert result.exit_code == 0
      dataset_from_argilla_mock.assert_called_once_with(
          name="my-dataset", workspace="my-workspace"
      )
      push_to_huggingface_mock.assert_called_once_with(
          repo_id="argilla/my-dataset",
          generate_card=True,
          private=True,
          token=None,
      )
      dataset_pull_mock.assert_called_once_with()
  
imports: from typing import TYPE_CHECKING
  import pytest
label_desc: Use image node_id 1 for calling the TestSuiteDatasetsPushCommand obj's underlying member method code with example usage: obj.test_push_to_huggingface(cli_runner, cli, mocker, feedback_dataset, remote_feedback_dataset) without return types