docstr: Test `huggingface-cli download dummy-repo` with all options selected.
docstr_tok: ["Test","`","huggingface-cli","download","dummy-repo","`","with","all","options","selected","."]
code: def test_download_with_all_options(self) -> None:
      """Test `huggingface-cli download dummy-repo` with all options selected."""
      args = self.parser.parse_args(
          [
              "download",
              DUMMY_MODEL_ID,
              "--repo-type",
              "dataset",
              "--revision",
              "v1.0.0",
              "--include",
              "*.json",
              "*.yaml",
              "--exclude",
              "*.log",
              "*.txt",
              "--force-download",
              "--cache-dir",
              "/tmp",
              "--resume-download",
              "--token",
              "my-token",
              "--quiet",
              "--local-dir",
              ".",
              "--local-dir-use-symlinks",
              "True",
          ]
      )
      self.assertEqual(args.repo_id, DUMMY_MODEL_ID)
      self.assertEqual(args.repo_type, "dataset")
      self.assertEqual(args.revision, "v1.0.0")
      self.assertEqual(args.include, ["*.json", "*.yaml"])
      self.assertEqual(args.exclude, ["*.log", "*.txt"])
      self.assertTrue(args.force_download)
      self.assertEqual(args.cache_dir, "/tmp")
      self.assertEqual(args.local_dir, ".")
      self.assertTrue(args.local_dir_use_symlinks)
      self.assertTrue(args.resume_download)
      self.assertEqual(args.token, "my-token")
      self.assertTrue(args.quiet)
      self.assertEqual(args.func, DownloadCommand)
  
imports: import os
  import unittest
  import warnings
  from argparse import ArgumentParser, Namespace
  from contextlib import contextmanager
  from pathlib import Path
  from typing import Generator
  from unittest.mock import Mock, patch
  from huggingface_hub.commands.delete_cache import DeleteCacheCommand
  from huggingface_hub.commands.download import DownloadCommand
  from huggingface_hub.commands.scan_cache import ScanCacheCommand
  from huggingface_hub.commands.upload import UploadCommand
  from huggingface_hub.utils import RevisionNotFoundError, SoftTemporaryDirectory, capture_output
  from .testing_utils import DUMMY_MODEL_ID
label_desc: Use image node_id 3 for calling the TestDownloadCommand obj's underlying member method code with example usage: obj.test_download_with_all_options() without return types