class_docstr: Test case for downloading an hrit tarball.
class_docstr_tok: ["Test","case","for","downloading","an","hrit","tarball","."]
docstr: Set up the test case.
docstr_tok: ["Set","up","the","test","case","."]
code: def setUp(self):
      """Set up the test case."""
      from satpy.demo.seviri_hrit import generate_subset_of_filenames
  
      self.subdir = os.path.join(".", "seviri_hrit", "20180228_1500")
      self.files = generate_subset_of_filenames(base_dir=self.subdir)
  
      self.patcher = mock.patch(
          "satpy.demo.utils.requests.get", autospec=True
      )
      self.get_mock = self.patcher.start()
  
      _FakeRequest.requests_log = []
  
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 1 for calling the TestSEVIRIHRITDemoDownload obj's underlying member method code with example usage: obj.setUp() without return types