class_docstr: Test case for downloading an hrit tarball.
class_docstr_tok: ["Test","case","for","downloading","an","hrit","tarball","."]
docstr: Test downloading SEVIRI HRIT data with content.
docstr_tok: ["Test","downloading","SEVIRI","HRIT","data","with","content","."]
code: def test_download_gets_files_with_contents(self):
      """Test downloading SEVIRI HRIT data with content."""
      from satpy.demo import download_seviri_hrit_20180228_1500
  
      self.get_mock.side_effect = _FakeRequest
      with mock_filesystem():
          files = download_seviri_hrit_20180228_1500()
          assert len(files) == 114
          assert set(files) == set(self.files)
          for the_file in files:
              with open(the_file, mode="r") as fd:
                  assert fd.read().decode("utf8") == os.path.basename(
                      the_file
                  )
  
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 3 for calling the TestSEVIRIHRITDemoDownload obj's underlying member method code with example usage: obj.test_download_gets_files_with_contents() without return types