class_docstr: Test basic data downloading functionality.
class_docstr_tok: ["Test","basic","data","downloading","functionality","."]
docstr: Test registering and retrieving all files.
docstr_tok: ["Test","registering","and","retrieving","all","files","."]
code: def test_retrieve_all(self):
      """Test registering and retrieving all files."""
      import satpy
      from satpy.aux_download import retrieve_all
  
      file_registry = {}
      file_urls = {}
      with satpy.config.set(
          config_path=[self.tmpdir], data_dir=str(self.tmpdir)
      ), mock.patch(
          "satpy.aux_download._FILE_REGISTRY", file_registry
      ), mock.patch(
          "satpy.aux_download._FILE_URLS", file_urls
      ), mock.patch(
          "satpy.aux_download.find_registerable_files"
      ):
          comp_file = "composites/README.rst"
          file_registry[comp_file] = None
          file_urls[comp_file] = README_URL
          assert not self.tmpdir.join(comp_file).exists()
          retrieve_all()
          assert self.tmpdir.join(comp_file).exists()
  
imports: from unittest import mock
  import pytest
  import yaml
  from satpy.aux_download import DataDownloadMixin
  from satpy.modifiers import ModifierBase
label_desc: Use image node_id 7 for calling the TestDataDownload obj's underlying member method code with example usage: obj.test_retrieve_all() without return types