class_docstr: Test case for downloading an hrit tarball.
class_docstr_tok: ["Test","case","for","downloading","an","hrit","tarball","."]
docstr: Test downloading to an output directory.
docstr_tok: ["Test","downloading","to","an","output","directory","."]
code: def test_download_to_output_directory(self):
      """Test downloading to an output directory."""
      from tempfile import gettempdir
  
      from satpy.demo import download_seviri_hrit_20180228_1500
  
      with mock_filesystem():
          base_dir = gettempdir()
          files = download_seviri_hrit_20180228_1500(base_dir=base_dir)
          assert files[0].startswith(base_dir)
  
imports: from __future__ import annotations
  import contextlib
  import io
  import os
  import sys
  import tarfile
  import unittest
  from collections import defaultdict
  from unittest import mock
  import pytest
label_desc: Use image node_id 7 for calling the TestSEVIRIHRITDemoDownload obj's underlying member method code with example usage: obj.test_download_to_output_directory() without return types